From 188c82b41251cdafd06b49dd593476354be656b2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Aug 2000 17:12:55 +0000 Subject: 2000-08-30 Joel Sherrill * Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs. --- c/src/exec/posix/include/rtems/posix/Makefile.am | 2 +- c/src/exec/posix/include/rtems/posix/seterr.h | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 c/src/exec/posix/include/rtems/posix/seterr.h (limited to 'c/src/exec/posix/include/rtems/posix') diff --git a/c/src/exec/posix/include/rtems/posix/Makefile.am b/c/src/exec/posix/include/rtems/posix/Makefile.am index c66a0015c9..82fcd22b37 100644 --- a/c/src/exec/posix/include/rtems/posix/Makefile.am +++ b/c/src/exec/posix/include/rtems/posix/Makefile.am @@ -7,7 +7,7 @@ AUTOMAKE_OPTIONS = foreign 1.4 MP_H_FILES = condmp.h mqueuemp.h mutexmp.h pthreadmp.h semaphoremp.h STD_H_FILES = cancel.h cond.h config.h key.h mqueue.h mutex.h posixapi.h \ - priority.h psignal.h pthread.h ptimer.h semaphore.h seterr.h threadsup.h \ + priority.h psignal.h pthread.h ptimer.h semaphore.h threadsup.h \ time.h timer.h $(MP_H_FILES) UNUSED_H_FILES = intr.h threadsup.h diff --git a/c/src/exec/posix/include/rtems/posix/seterr.h b/c/src/exec/posix/include/rtems/posix/seterr.h deleted file mode 100644 index 248b545ee6..0000000000 --- a/c/src/exec/posix/include/rtems/posix/seterr.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#ifndef __POSIX_SET_ERRNO_h -#define __POSIX_SET_ERRNO_h - -#define set_errno_and_return_minus_one( _error ) \ - { errno = (_error); return -1; } - -#define set_errno_and_return_minus_one_cast( _error, _cast ) \ - { errno = (_error); return (_cast) -1; } - -#endif -/* end of include file */ -- cgit v1.2.3