summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/rtems/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-30 17:12:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-30 17:12:55 +0000
commit188c82b41251cdafd06b49dd593476354be656b2 (patch)
tree2f6f400c50ae59f9393cb53a5fc96161b30f5fe5 /c/src/exec/posix/include/rtems/posix
parent2000-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-188c82b41251cdafd06b49dd593476354be656b2.tar.bz2
2000-08-30 Joel Sherrill <joel@OARcorp.com>
* Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs.
Diffstat (limited to 'c/src/exec/posix/include/rtems/posix')
-rw-r--r--c/src/exec/posix/include/rtems/posix/Makefile.am2
-rw-r--r--c/src/exec/posix/include/rtems/posix/seterr.h22
2 files changed, 1 insertions, 23 deletions
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 */