summaryrefslogtreecommitdiffstats
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
parent73eea69cfb8046324a49f07025f50bea41dc96ad (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.
-rw-r--r--c/src/exec/libcsupport/src/utsname.c2
-rw-r--r--c/src/exec/posix/ChangeLog6
-rw-r--r--c/src/exec/posix/include/rtems/posix/Makefile.am2
-rw-r--r--c/src/exec/posix/src/aio.c2
-rw-r--r--c/src/exec/posix/src/clockgetcpuclockid.c2
-rw-r--r--c/src/exec/posix/src/clockgetenableattr.c2
-rw-r--r--c/src/exec/posix/src/clockgetres.c2
-rw-r--r--c/src/exec/posix/src/clockgettime.c2
-rw-r--r--c/src/exec/posix/src/clocksetenableattr.c2
-rw-r--r--c/src/exec/posix/src/clocksettime.c2
-rw-r--r--c/src/exec/posix/src/getegid.c2
-rw-r--r--c/src/exec/posix/src/geteuid.c2
-rw-r--r--c/src/exec/posix/src/getgid.c2
-rw-r--r--c/src/exec/posix/src/getgroups.c2
-rw-r--r--c/src/exec/posix/src/getlogin.c2
-rw-r--r--c/src/exec/posix/src/getpgrp.c2
-rw-r--r--c/src/exec/posix/src/getpid.c2
-rw-r--r--c/src/exec/posix/src/getppid.c2
-rw-r--r--c/src/exec/posix/src/getuid.c2
-rw-r--r--c/src/exec/posix/src/killinfo.c2
-rw-r--r--c/src/exec/posix/src/mqueue.c2
-rw-r--r--c/src/exec/posix/src/mqueueclose.c2
-rw-r--r--c/src/exec/posix/src/mqueuecreatesupp.c2
-rw-r--r--c/src/exec/posix/src/mqueuedeletesupp.c2
-rw-r--r--c/src/exec/posix/src/mqueuegetattr.c2
-rw-r--r--c/src/exec/posix/src/mqueuenametoid.c2
-rw-r--r--c/src/exec/posix/src/mqueuenotify.c2
-rw-r--r--c/src/exec/posix/src/mqueueopen.c2
-rw-r--r--c/src/exec/posix/src/mqueuereceive.c2
-rw-r--r--c/src/exec/posix/src/mqueuerecvsupp.c2
-rw-r--r--c/src/exec/posix/src/mqueuesend.c2
-rw-r--r--c/src/exec/posix/src/mqueuesendsupp.c2
-rw-r--r--c/src/exec/posix/src/mqueuesetattr.c2
-rw-r--r--c/src/exec/posix/src/mqueuetimedreceive.c2
-rw-r--r--c/src/exec/posix/src/mqueuetimedsend.c2
-rw-r--r--c/src/exec/posix/src/mqueuetranslatereturncode.c2
-rw-r--r--c/src/exec/posix/src/mqueueunlink.c2
-rw-r--r--c/src/exec/posix/src/nanosleep.c2
-rw-r--r--c/src/exec/posix/src/posixintervaltotimespec.c2
-rw-r--r--c/src/exec/posix/src/posixtimespecsubtract.c2
-rw-r--r--c/src/exec/posix/src/posixtimespectointerval.c2
-rw-r--r--c/src/exec/posix/src/psignal.c2
-rw-r--r--c/src/exec/posix/src/psignalchecksignal.c2
-rw-r--r--c/src/exec/posix/src/psignalclearprocesssignals.c2
-rw-r--r--c/src/exec/posix/src/psignalclearsignals.c2
-rw-r--r--c/src/exec/posix/src/psignalsetprocesssignals.c2
-rw-r--r--c/src/exec/posix/src/psignalunblockthread.c2
-rw-r--r--c/src/exec/posix/src/pthreadkill.c2
-rw-r--r--c/src/exec/posix/src/pthreadsigmask.c2
-rw-r--r--c/src/exec/posix/src/ptimer1.c2
-rw-r--r--c/src/exec/posix/src/sched.c2
-rw-r--r--c/src/exec/posix/src/semaphore.c2
-rw-r--r--c/src/exec/posix/src/semaphorecreatesupp.c2
-rw-r--r--c/src/exec/posix/src/semaphoredeletesupp.c2
-rw-r--r--c/src/exec/posix/src/semaphoremp.c2
-rw-r--r--c/src/exec/posix/src/semaphorenametoid.c2
-rw-r--r--c/src/exec/posix/src/semaphorewaitsupp.c2
-rw-r--r--c/src/exec/posix/src/semclose.c2
-rw-r--r--c/src/exec/posix/src/semdestroy.c2
-rw-r--r--c/src/exec/posix/src/semgetvalue.c2
-rw-r--r--c/src/exec/posix/src/seminit.c2
-rw-r--r--c/src/exec/posix/src/semopen.c2
-rw-r--r--c/src/exec/posix/src/sempost.c2
-rw-r--r--c/src/exec/posix/src/semtimedwait.c2
-rw-r--r--c/src/exec/posix/src/semtrywait.c2
-rw-r--r--c/src/exec/posix/src/semunlink.c2
-rw-r--r--c/src/exec/posix/src/semwait.c2
-rw-r--r--c/src/exec/posix/src/setpgid.c2
-rw-r--r--c/src/exec/posix/src/setsid.c2
-rw-r--r--c/src/exec/posix/src/sigaction.c2
-rw-r--r--c/src/exec/posix/src/sigaddset.c2
-rw-r--r--c/src/exec/posix/src/sigdelset.c2
-rw-r--r--c/src/exec/posix/src/sigemptyset.c2
-rw-r--r--c/src/exec/posix/src/sigfillset.c2
-rw-r--r--c/src/exec/posix/src/sigismember.c2
-rw-r--r--c/src/exec/posix/src/sigpending.c2
-rw-r--r--c/src/exec/posix/src/sigtimedwait.c2
-rw-r--r--c/src/exec/posix/src/time.c2
-rw-r--r--c/src/exec/posix/src/types.c2
-rw-r--r--c/src/exec/posix/src/utsname.c2
-rw-r--r--c/src/exec/score/ChangeLog6
-rw-r--r--c/src/exec/score/include/rtems/Makefile.am2
-rw-r--r--c/src/exec/score/include/rtems/seterr.h (renamed from c/src/exec/posix/include/rtems/posix/seterr.h)4
-rw-r--r--c/src/lib/libc/utsname.c2
-rw-r--r--c/src/libmisc/ChangeLog6
-rw-r--r--c/src/libmisc/mw-fb/mw_uid.c19
-rw-r--r--cpukit/libcsupport/src/utsname.c2
-rw-r--r--cpukit/libmisc/ChangeLog6
-rw-r--r--cpukit/libmisc/mw-fb/mw_uid.c19
-rw-r--r--cpukit/posix/ChangeLog6
-rw-r--r--cpukit/posix/src/aio.c2
-rw-r--r--cpukit/posix/src/clockgetcpuclockid.c2
-rw-r--r--cpukit/posix/src/clockgetenableattr.c2
-rw-r--r--cpukit/posix/src/clockgetres.c2
-rw-r--r--cpukit/posix/src/clockgettime.c2
-rw-r--r--cpukit/posix/src/clocksetenableattr.c2
-rw-r--r--cpukit/posix/src/clocksettime.c2
-rw-r--r--cpukit/posix/src/getegid.c2
-rw-r--r--cpukit/posix/src/geteuid.c2
-rw-r--r--cpukit/posix/src/getgid.c2
-rw-r--r--cpukit/posix/src/getgroups.c2
-rw-r--r--cpukit/posix/src/getlogin.c2
-rw-r--r--cpukit/posix/src/getpgrp.c2
-rw-r--r--cpukit/posix/src/getpid.c2
-rw-r--r--cpukit/posix/src/getppid.c2
-rw-r--r--cpukit/posix/src/getuid.c2
-rw-r--r--cpukit/posix/src/killinfo.c2
-rw-r--r--cpukit/posix/src/mqueue.c2
-rw-r--r--cpukit/posix/src/mqueueclose.c2
-rw-r--r--cpukit/posix/src/mqueuecreatesupp.c2
-rw-r--r--cpukit/posix/src/mqueuedeletesupp.c2
-rw-r--r--cpukit/posix/src/mqueuegetattr.c2
-rw-r--r--cpukit/posix/src/mqueuenametoid.c2
-rw-r--r--cpukit/posix/src/mqueuenotify.c2
-rw-r--r--cpukit/posix/src/mqueueopen.c2
-rw-r--r--cpukit/posix/src/mqueuereceive.c2
-rw-r--r--cpukit/posix/src/mqueuerecvsupp.c2
-rw-r--r--cpukit/posix/src/mqueuesend.c2
-rw-r--r--cpukit/posix/src/mqueuesendsupp.c2
-rw-r--r--cpukit/posix/src/mqueuesetattr.c2
-rw-r--r--cpukit/posix/src/mqueuetimedreceive.c2
-rw-r--r--cpukit/posix/src/mqueuetimedsend.c2
-rw-r--r--cpukit/posix/src/mqueuetranslatereturncode.c2
-rw-r--r--cpukit/posix/src/mqueueunlink.c2
-rw-r--r--cpukit/posix/src/nanosleep.c2
-rw-r--r--cpukit/posix/src/posixintervaltotimespec.c2
-rw-r--r--cpukit/posix/src/posixtimespecsubtract.c2
-rw-r--r--cpukit/posix/src/posixtimespectointerval.c2
-rw-r--r--cpukit/posix/src/psignal.c2
-rw-r--r--cpukit/posix/src/psignalchecksignal.c2
-rw-r--r--cpukit/posix/src/psignalclearprocesssignals.c2
-rw-r--r--cpukit/posix/src/psignalclearsignals.c2
-rw-r--r--cpukit/posix/src/psignalsetprocesssignals.c2
-rw-r--r--cpukit/posix/src/psignalunblockthread.c2
-rw-r--r--cpukit/posix/src/pthreadkill.c2
-rw-r--r--cpukit/posix/src/pthreadsigmask.c2
-rw-r--r--cpukit/posix/src/ptimer1.c2
-rw-r--r--cpukit/posix/src/sched.c2
-rw-r--r--cpukit/posix/src/semaphore.c2
-rw-r--r--cpukit/posix/src/semaphorecreatesupp.c2
-rw-r--r--cpukit/posix/src/semaphoredeletesupp.c2
-rw-r--r--cpukit/posix/src/semaphoremp.c2
-rw-r--r--cpukit/posix/src/semaphorenametoid.c2
-rw-r--r--cpukit/posix/src/semaphorewaitsupp.c2
-rw-r--r--cpukit/posix/src/semclose.c2
-rw-r--r--cpukit/posix/src/semdestroy.c2
-rw-r--r--cpukit/posix/src/semgetvalue.c2
-rw-r--r--cpukit/posix/src/seminit.c2
-rw-r--r--cpukit/posix/src/semopen.c2
-rw-r--r--cpukit/posix/src/sempost.c2
-rw-r--r--cpukit/posix/src/semtimedwait.c2
-rw-r--r--cpukit/posix/src/semtrywait.c2
-rw-r--r--cpukit/posix/src/semunlink.c2
-rw-r--r--cpukit/posix/src/semwait.c2
-rw-r--r--cpukit/posix/src/setpgid.c2
-rw-r--r--cpukit/posix/src/setsid.c2
-rw-r--r--cpukit/posix/src/sigaction.c2
-rw-r--r--cpukit/posix/src/sigaddset.c2
-rw-r--r--cpukit/posix/src/sigdelset.c2
-rw-r--r--cpukit/posix/src/sigemptyset.c2
-rw-r--r--cpukit/posix/src/sigfillset.c2
-rw-r--r--cpukit/posix/src/sigismember.c2
-rw-r--r--cpukit/posix/src/sigpending.c2
-rw-r--r--cpukit/posix/src/sigtimedwait.c2
-rw-r--r--cpukit/posix/src/time.c2
-rw-r--r--cpukit/posix/src/types.c2
-rw-r--r--cpukit/score/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/seterr.h22
168 files changed, 254 insertions, 162 deletions
diff --git a/c/src/exec/libcsupport/src/utsname.c b/c/src/exec/libcsupport/src/utsname.c
index 7da5f9380d..bf96d52cc4 100644
--- a/c/src/exec/libcsupport/src/utsname.c
+++ b/c/src/exec/libcsupport/src/utsname.c
@@ -13,7 +13,7 @@
#include <rtems/score/object.h>
#include <rtems/sptables.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/ChangeLog b/c/src/exec/posix/ChangeLog
index f2ae5c1ccb..e301671147 100644
--- a/c/src/exec/posix/ChangeLog
+++ b/c/src/exec/posix/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h,
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/src/aio.c b/c/src/exec/posix/src/aio.c
index e57880ff78..3deb457676 100644
--- a/c/src/exec/posix/src/aio.c
+++ b/c/src/exec/posix/src/aio.c
@@ -5,7 +5,7 @@
#include <aio.h>
#include <rtems/system.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int POSIX_NOT_IMPLEMENTED();
diff --git a/c/src/exec/posix/src/clockgetcpuclockid.c b/c/src/exec/posix/src/clockgetcpuclockid.c
index fc0a3535b0..4da1e3f886 100644
--- a/c/src/exec/posix/src/clockgetcpuclockid.c
+++ b/c/src/exec/posix/src/clockgetcpuclockid.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/clockgetenableattr.c b/c/src/exec/posix/src/clockgetenableattr.c
index 6a7d9c1c46..4669afea65 100644
--- a/c/src/exec/posix/src/clockgetenableattr.c
+++ b/c/src/exec/posix/src/clockgetenableattr.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/clockgetres.c b/c/src/exec/posix/src/clockgetres.c
index 3be3439cdb..2cea196372 100644
--- a/c/src/exec/posix/src/clockgetres.c
+++ b/c/src/exec/posix/src/clockgetres.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/clockgettime.c b/c/src/exec/posix/src/clockgettime.c
index 806a29caa3..c7e01102e3 100644
--- a/c/src/exec/posix/src/clockgettime.c
+++ b/c/src/exec/posix/src/clockgettime.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/clocksetenableattr.c b/c/src/exec/posix/src/clocksetenableattr.c
index 2ee5a4ef25..d1a2c8f601 100644
--- a/c/src/exec/posix/src/clocksetenableattr.c
+++ b/c/src/exec/posix/src/clocksetenableattr.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/clocksettime.c b/c/src/exec/posix/src/clocksettime.c
index 8157bdfda5..a2d6031699 100644
--- a/c/src/exec/posix/src/clocksettime.c
+++ b/c/src/exec/posix/src/clocksettime.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/getegid.c b/c/src/exec/posix/src/getegid.c
index f1169f14bc..f3fbce989d 100644
--- a/c/src/exec/posix/src/getegid.c
+++ b/c/src/exec/posix/src/getegid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
gid_t _POSIX_types_Egid = 0;
diff --git a/c/src/exec/posix/src/geteuid.c b/c/src/exec/posix/src/geteuid.c
index f28d9387ae..0b149a1d2a 100644
--- a/c/src/exec/posix/src/geteuid.c
+++ b/c/src/exec/posix/src/geteuid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
uid_t _POSIX_types_Euid = 0;
diff --git a/c/src/exec/posix/src/getgid.c b/c/src/exec/posix/src/getgid.c
index 6b65d12e99..70da92aa6c 100644
--- a/c/src/exec/posix/src/getgid.c
+++ b/c/src/exec/posix/src/getgid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
gid_t _POSIX_types_Gid = 0;
diff --git a/c/src/exec/posix/src/getgroups.c b/c/src/exec/posix/src/getgroups.c
index e055c0bd9f..20ec49c3ed 100644
--- a/c/src/exec/posix/src/getgroups.c
+++ b/c/src/exec/posix/src/getgroups.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/getlogin.c b/c/src/exec/posix/src/getlogin.c
index 729743696a..784db273e1 100644
--- a/c/src/exec/posix/src/getlogin.c
+++ b/c/src/exec/posix/src/getlogin.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/getpgrp.c b/c/src/exec/posix/src/getpgrp.c
index 6e69d0f33a..dd39b31c9f 100644
--- a/c/src/exec/posix/src/getpgrp.c
+++ b/c/src/exec/posix/src/getpgrp.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/getpid.c b/c/src/exec/posix/src/getpid.c
index 8e912adf39..e3c5a286ea 100644
--- a/c/src/exec/posix/src/getpid.c
+++ b/c/src/exec/posix/src/getpid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/getppid.c b/c/src/exec/posix/src/getppid.c
index 46e49cd3bf..239a47511f 100644
--- a/c/src/exec/posix/src/getppid.c
+++ b/c/src/exec/posix/src/getppid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
pid_t _POSIX_types_Ppid = 0;
diff --git a/c/src/exec/posix/src/getuid.c b/c/src/exec/posix/src/getuid.c
index 9c2a3425e2..dec4a00a85 100644
--- a/c/src/exec/posix/src/getuid.c
+++ b/c/src/exec/posix/src/getuid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
uid_t _POSIX_types_Uid = 0;
diff --git a/c/src/exec/posix/src/killinfo.c b/c/src/exec/posix/src/killinfo.c
index 1044b50eb3..5d928a8785 100644
--- a/c/src/exec/posix/src/killinfo.c
+++ b/c/src/exec/posix/src/killinfo.c
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/score/isr.h>
/*PAGE
diff --git a/c/src/exec/posix/src/mqueue.c b/c/src/exec/posix/src/mqueue.c
index a9af9423de..a6673038f1 100644
--- a/c/src/exec/posix/src/mqueue.c
+++ b/c/src/exec/posix/src/mqueue.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueueclose.c b/c/src/exec/posix/src/mqueueclose.c
index 3c1c5a325e..1ccd3de638 100644
--- a/c/src/exec/posix/src/mqueueclose.c
+++ b/c/src/exec/posix/src/mqueueclose.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuecreatesupp.c b/c/src/exec/posix/src/mqueuecreatesupp.c
index 6b3e5dbe58..d1299e018c 100644
--- a/c/src/exec/posix/src/mqueuecreatesupp.c
+++ b/c/src/exec/posix/src/mqueuecreatesupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuedeletesupp.c b/c/src/exec/posix/src/mqueuedeletesupp.c
index f8076d601a..df16188159 100644
--- a/c/src/exec/posix/src/mqueuedeletesupp.c
+++ b/c/src/exec/posix/src/mqueuedeletesupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuegetattr.c b/c/src/exec/posix/src/mqueuegetattr.c
index 9b739e36ea..429037ada2 100644
--- a/c/src/exec/posix/src/mqueuegetattr.c
+++ b/c/src/exec/posix/src/mqueuegetattr.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuenametoid.c b/c/src/exec/posix/src/mqueuenametoid.c
index 3d45508bea..635a74b538 100644
--- a/c/src/exec/posix/src/mqueuenametoid.c
+++ b/c/src/exec/posix/src/mqueuenametoid.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuenotify.c b/c/src/exec/posix/src/mqueuenotify.c
index 36df3fd055..0d5a79c55a 100644
--- a/c/src/exec/posix/src/mqueuenotify.c
+++ b/c/src/exec/posix/src/mqueuenotify.c
@@ -26,7 +26,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueueopen.c b/c/src/exec/posix/src/mqueueopen.c
index c0ae35e465..af3a0957f9 100644
--- a/c/src/exec/posix/src/mqueueopen.c
+++ b/c/src/exec/posix/src/mqueueopen.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuereceive.c b/c/src/exec/posix/src/mqueuereceive.c
index 964dcfe2b9..ac11c5369e 100644
--- a/c/src/exec/posix/src/mqueuereceive.c
+++ b/c/src/exec/posix/src/mqueuereceive.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuerecvsupp.c b/c/src/exec/posix/src/mqueuerecvsupp.c
index ff1d897f17..6c0fafeeac 100644
--- a/c/src/exec/posix/src/mqueuerecvsupp.c
+++ b/c/src/exec/posix/src/mqueuerecvsupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuesend.c b/c/src/exec/posix/src/mqueuesend.c
index 7f236eb590..bb161833ea 100644
--- a/c/src/exec/posix/src/mqueuesend.c
+++ b/c/src/exec/posix/src/mqueuesend.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuesendsupp.c b/c/src/exec/posix/src/mqueuesendsupp.c
index f456758c83..3cd1ed6a3e 100644
--- a/c/src/exec/posix/src/mqueuesendsupp.c
+++ b/c/src/exec/posix/src/mqueuesendsupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuesetattr.c b/c/src/exec/posix/src/mqueuesetattr.c
index 6cbdb2a638..5c06ce8ef2 100644
--- a/c/src/exec/posix/src/mqueuesetattr.c
+++ b/c/src/exec/posix/src/mqueuesetattr.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuetimedreceive.c b/c/src/exec/posix/src/mqueuetimedreceive.c
index 7c523faa1d..825522ecb8 100644
--- a/c/src/exec/posix/src/mqueuetimedreceive.c
+++ b/c/src/exec/posix/src/mqueuetimedreceive.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuetimedsend.c b/c/src/exec/posix/src/mqueuetimedsend.c
index 73c043b21d..3bc89c8014 100644
--- a/c/src/exec/posix/src/mqueuetimedsend.c
+++ b/c/src/exec/posix/src/mqueuetimedsend.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/mqueuetranslatereturncode.c b/c/src/exec/posix/src/mqueuetranslatereturncode.c
index 01c832406e..e5cf26ac95 100644
--- a/c/src/exec/posix/src/mqueuetranslatereturncode.c
+++ b/c/src/exec/posix/src/mqueuetranslatereturncode.c
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
#include <rtems/score/interr.h>
diff --git a/c/src/exec/posix/src/mqueueunlink.c b/c/src/exec/posix/src/mqueueunlink.c
index 26399386a7..73051d72a0 100644
--- a/c/src/exec/posix/src/mqueueunlink.c
+++ b/c/src/exec/posix/src/mqueueunlink.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/nanosleep.c b/c/src/exec/posix/src/nanosleep.c
index 7930c016e5..419b559ca7 100644
--- a/c/src/exec/posix/src/nanosleep.c
+++ b/c/src/exec/posix/src/nanosleep.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/posixintervaltotimespec.c b/c/src/exec/posix/src/posixintervaltotimespec.c
index e5f883095b..e26750341e 100644
--- a/c/src/exec/posix/src/posixintervaltotimespec.c
+++ b/c/src/exec/posix/src/posixintervaltotimespec.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/posixtimespecsubtract.c b/c/src/exec/posix/src/posixtimespecsubtract.c
index eb5e21d83a..d8256bb835 100644
--- a/c/src/exec/posix/src/posixtimespecsubtract.c
+++ b/c/src/exec/posix/src/posixtimespecsubtract.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/posixtimespectointerval.c b/c/src/exec/posix/src/posixtimespectointerval.c
index 388dd791eb..9f4c6727f1 100644
--- a/c/src/exec/posix/src/posixtimespectointerval.c
+++ b/c/src/exec/posix/src/posixtimespectointerval.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/psignal.c b/c/src/exec/posix/src/psignal.c
index 28e1ee8319..1df8def77d 100644
--- a/c/src/exec/posix/src/psignal.c
+++ b/c/src/exec/posix/src/psignal.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/psignalchecksignal.c b/c/src/exec/posix/src/psignalchecksignal.c
index f733994067..d2a8c11bcc 100644
--- a/c/src/exec/posix/src/psignalchecksignal.c
+++ b/c/src/exec/posix/src/psignalchecksignal.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/psignalclearprocesssignals.c b/c/src/exec/posix/src/psignalclearprocesssignals.c
index e182045462..2e16cbe3bb 100644
--- a/c/src/exec/posix/src/psignalclearprocesssignals.c
+++ b/c/src/exec/posix/src/psignalclearprocesssignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/psignalclearsignals.c b/c/src/exec/posix/src/psignalclearsignals.c
index 4dc7d9cb02..aacbcb8c84 100644
--- a/c/src/exec/posix/src/psignalclearsignals.c
+++ b/c/src/exec/posix/src/psignalclearsignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/psignalsetprocesssignals.c b/c/src/exec/posix/src/psignalsetprocesssignals.c
index 469735aef1..bc56e89e24 100644
--- a/c/src/exec/posix/src/psignalsetprocesssignals.c
+++ b/c/src/exec/posix/src/psignalsetprocesssignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/psignalunblockthread.c b/c/src/exec/posix/src/psignalunblockthread.c
index 916ed4724e..25ed95ab39 100644
--- a/c/src/exec/posix/src/psignalunblockthread.c
+++ b/c/src/exec/posix/src/psignalunblockthread.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/c/src/exec/posix/src/pthreadkill.c b/c/src/exec/posix/src/pthreadkill.c
index 6ddd1d6138..37de5fc4c0 100644
--- a/c/src/exec/posix/src/pthreadkill.c
+++ b/c/src/exec/posix/src/pthreadkill.c
@@ -19,7 +19,7 @@
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
#include <rtems/score/isr.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int pthread_kill(
pthread_t thread,
diff --git a/c/src/exec/posix/src/pthreadsigmask.c b/c/src/exec/posix/src/pthreadsigmask.c
index 7511de17f8..d9e69b52f2 100644
--- a/c/src/exec/posix/src/pthreadsigmask.c
+++ b/c/src/exec/posix/src/pthreadsigmask.c
@@ -21,7 +21,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int pthread_sigmask(
int how,
diff --git a/c/src/exec/posix/src/ptimer1.c b/c/src/exec/posix/src/ptimer1.c
index 4e5f67b585..d74865e960 100644
--- a/c/src/exec/posix/src/ptimer1.c
+++ b/c/src/exec/posix/src/ptimer1.c
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <signal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/timer.h>
/*****************************/
diff --git a/c/src/exec/posix/src/sched.c b/c/src/exec/posix/src/sched.c
index 30c58ca8a5..32ae41f5fa 100644
--- a/c/src/exec/posix/src/sched.c
+++ b/c/src/exec/posix/src/sched.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/tod.h>
#include <rtems/score/thread.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/priority.h>
#include <rtems/posix/time.h>
diff --git a/c/src/exec/posix/src/semaphore.c b/c/src/exec/posix/src/semaphore.c
index eb9664534a..af52b80623 100644
--- a/c/src/exec/posix/src/semaphore.c
+++ b/c/src/exec/posix/src/semaphore.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semaphorecreatesupp.c b/c/src/exec/posix/src/semaphorecreatesupp.c
index 448a658bab..a9500ddd12 100644
--- a/c/src/exec/posix/src/semaphorecreatesupp.c
+++ b/c/src/exec/posix/src/semaphorecreatesupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semaphoredeletesupp.c b/c/src/exec/posix/src/semaphoredeletesupp.c
index 9e136b7f37..22332617fa 100644
--- a/c/src/exec/posix/src/semaphoredeletesupp.c
+++ b/c/src/exec/posix/src/semaphoredeletesupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semaphoremp.c b/c/src/exec/posix/src/semaphoremp.c
index 9eed7d67d6..af2cff052d 100644
--- a/c/src/exec/posix/src/semaphoremp.c
+++ b/c/src/exec/posix/src/semaphoremp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#if defined(RTEMS_MULTIPROCESSING)
/*
diff --git a/c/src/exec/posix/src/semaphorenametoid.c b/c/src/exec/posix/src/semaphorenametoid.c
index 47879402cc..9f14a1e79f 100644
--- a/c/src/exec/posix/src/semaphorenametoid.c
+++ b/c/src/exec/posix/src/semaphorenametoid.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semaphorewaitsupp.c b/c/src/exec/posix/src/semaphorewaitsupp.c
index c3aba8c90d..816651361f 100644
--- a/c/src/exec/posix/src/semaphorewaitsupp.c
+++ b/c/src/exec/posix/src/semaphorewaitsupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semclose.c b/c/src/exec/posix/src/semclose.c
index 999dd85cfa..5088c26f48 100644
--- a/c/src/exec/posix/src/semclose.c
+++ b/c/src/exec/posix/src/semclose.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
diff --git a/c/src/exec/posix/src/semdestroy.c b/c/src/exec/posix/src/semdestroy.c
index 8f3d41cfa8..5c5becac88 100644
--- a/c/src/exec/posix/src/semdestroy.c
+++ b/c/src/exec/posix/src/semdestroy.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semgetvalue.c b/c/src/exec/posix/src/semgetvalue.c
index 25d8c8d8d4..2b93bf02fa 100644
--- a/c/src/exec/posix/src/semgetvalue.c
+++ b/c/src/exec/posix/src/semgetvalue.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/seminit.c b/c/src/exec/posix/src/seminit.c
index bcff1b0f32..74a6499329 100644
--- a/c/src/exec/posix/src/seminit.c
+++ b/c/src/exec/posix/src/seminit.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semopen.c b/c/src/exec/posix/src/semopen.c
index 8bcf4fccf1..f395d8f93d 100644
--- a/c/src/exec/posix/src/semopen.c
+++ b/c/src/exec/posix/src/semopen.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/sempost.c b/c/src/exec/posix/src/sempost.c
index 5a646eee82..2228c1c072 100644
--- a/c/src/exec/posix/src/sempost.c
+++ b/c/src/exec/posix/src/sempost.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semtimedwait.c b/c/src/exec/posix/src/semtimedwait.c
index e237749ff7..bfbd9d9320 100644
--- a/c/src/exec/posix/src/semtimedwait.c
+++ b/c/src/exec/posix/src/semtimedwait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semtrywait.c b/c/src/exec/posix/src/semtrywait.c
index c29a2f3dde..b7513ea5a2 100644
--- a/c/src/exec/posix/src/semtrywait.c
+++ b/c/src/exec/posix/src/semtrywait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semunlink.c b/c/src/exec/posix/src/semunlink.c
index d687629e46..55462fb329 100644
--- a/c/src/exec/posix/src/semunlink.c
+++ b/c/src/exec/posix/src/semunlink.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/semwait.c b/c/src/exec/posix/src/semwait.c
index f46db81852..f74a7fa0c4 100644
--- a/c/src/exec/posix/src/semwait.c
+++ b/c/src/exec/posix/src/semwait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/setpgid.c b/c/src/exec/posix/src/setpgid.c
index 46db5b29ed..295a961c04 100644
--- a/c/src/exec/posix/src/setpgid.c
+++ b/c/src/exec/posix/src/setpgid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/setsid.c b/c/src/exec/posix/src/setsid.c
index 8d56ea6e72..6594dec039 100644
--- a/c/src/exec/posix/src/setsid.c
+++ b/c/src/exec/posix/src/setsid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/posix/src/sigaction.c b/c/src/exec/posix/src/sigaction.c
index 11bbc358de..f7c525e002 100644
--- a/c/src/exec/posix/src/sigaction.c
+++ b/c/src/exec/posix/src/sigaction.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/score/isr.h>
/*
diff --git a/c/src/exec/posix/src/sigaddset.c b/c/src/exec/posix/src/sigaddset.c
index 202116a1d1..ee185ecec3 100644
--- a/c/src/exec/posix/src/sigaddset.c
+++ b/c/src/exec/posix/src/sigaddset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigaddset(
sigset_t *set,
diff --git a/c/src/exec/posix/src/sigdelset.c b/c/src/exec/posix/src/sigdelset.c
index ac5e1adfa6..0322d45190 100644
--- a/c/src/exec/posix/src/sigdelset.c
+++ b/c/src/exec/posix/src/sigdelset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*
* 3.3.3 Manipulate Signal Sets, P1003.1b-1993, p. 69
diff --git a/c/src/exec/posix/src/sigemptyset.c b/c/src/exec/posix/src/sigemptyset.c
index d771f3ede2..3f792bc0fb 100644
--- a/c/src/exec/posix/src/sigemptyset.c
+++ b/c/src/exec/posix/src/sigemptyset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigemptyset(
sigset_t *set
diff --git a/c/src/exec/posix/src/sigfillset.c b/c/src/exec/posix/src/sigfillset.c
index b3a0447602..bf7ef93ee2 100644
--- a/c/src/exec/posix/src/sigfillset.c
+++ b/c/src/exec/posix/src/sigfillset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigfillset(
sigset_t *set
diff --git a/c/src/exec/posix/src/sigismember.c b/c/src/exec/posix/src/sigismember.c
index df617ad0bc..96d6bb127d 100644
--- a/c/src/exec/posix/src/sigismember.c
+++ b/c/src/exec/posix/src/sigismember.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigismember(
const sigset_t *set,
diff --git a/c/src/exec/posix/src/sigpending.c b/c/src/exec/posix/src/sigpending.c
index 2699645150..2f8fb8d0e2 100644
--- a/c/src/exec/posix/src/sigpending.c
+++ b/c/src/exec/posix/src/sigpending.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigpending(
sigset_t *set
diff --git a/c/src/exec/posix/src/sigtimedwait.c b/c/src/exec/posix/src/sigtimedwait.c
index 276b9b61af..3300b7383d 100644
--- a/c/src/exec/posix/src/sigtimedwait.c
+++ b/c/src/exec/posix/src/sigtimedwait.c
@@ -19,7 +19,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
#include <rtems/score/isr.h>
diff --git a/c/src/exec/posix/src/time.c b/c/src/exec/posix/src/time.c
index 1eb96d5264..e415285f94 100644
--- a/c/src/exec/posix/src/time.c
+++ b/c/src/exec/posix/src/time.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/c/src/exec/posix/src/types.c b/c/src/exec/posix/src/types.c
index 88fc0f5af4..7243b5855d 100644
--- a/c/src/exec/posix/src/types.c
+++ b/c/src/exec/posix/src/types.c
@@ -11,7 +11,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*
* TEMPORARY
diff --git a/c/src/exec/posix/src/utsname.c b/c/src/exec/posix/src/utsname.c
index 7da5f9380d..bf96d52cc4 100644
--- a/c/src/exec/posix/src/utsname.c
+++ b/c/src/exec/posix/src/utsname.c
@@ -13,7 +13,7 @@
#include <rtems/score/object.h>
#include <rtems/sptables.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index bc1096298a..b636ec81e7 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,4 +1,10 @@
+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.
+
2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/system.h: Include cpuopts.h for __i386__.
diff --git a/c/src/exec/score/include/rtems/Makefile.am b/c/src/exec/score/include/rtems/Makefile.am
index f4ac2b1717..a2e0bbc47f 100644
--- a/c/src/exec/score/include/rtems/Makefile.am
+++ b/c/src/exec/score/include/rtems/Makefile.am
@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
-H_FILES = debug.h system.h
+H_FILES = debug.h system.h seterr.h
noinst_HEADERS = $(H_FILES)
diff --git a/c/src/exec/posix/include/rtems/posix/seterr.h b/c/src/exec/score/include/rtems/seterr.h
index 248b545ee6..ea951ac8b2 100644
--- a/c/src/exec/posix/include/rtems/posix/seterr.h
+++ b/c/src/exec/score/include/rtems/seterr.h
@@ -9,8 +9,8 @@
* $Id$
*/
-#ifndef __POSIX_SET_ERRNO_h
-#define __POSIX_SET_ERRNO_h
+#ifndef __RTEMS_SET_ERRNO_h
+#define __RTEMS_SET_ERRNO_h
#define set_errno_and_return_minus_one( _error ) \
{ errno = (_error); return -1; }
diff --git a/c/src/lib/libc/utsname.c b/c/src/lib/libc/utsname.c
index 7da5f9380d..bf96d52cc4 100644
--- a/c/src/lib/libc/utsname.c
+++ b/c/src/lib/libc/utsname.c
@@ -13,7 +13,7 @@
#include <rtems/score/object.h>
#include <rtems/sptables.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog
index 84b958ee6d..16523a5880 100644
--- a/c/src/libmisc/ChangeLog
+++ b/c/src/libmisc/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2000-08-30 Joel Sherrill <joel@OARcorp.com>
+
* mw-fb/.cvsignore: New file.
2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
diff --git a/c/src/libmisc/mw-fb/mw_uid.c b/c/src/libmisc/mw-fb/mw_uid.c
index 5d368a96ff..638a458ecc 100644
--- a/c/src/libmisc/mw-fb/mw_uid.c
+++ b/c/src/libmisc/mw-fb/mw_uid.c
@@ -13,6 +13,23 @@
// MODIFICATION/HISTORY:
//
// $Log$
+// Revision 1.1 2000/08/30 08:21:24 joel
+// 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
+//
+// * Added generic Micro FrameBuffer interface for MicroWindows.
+// This interface allows MicroWindows to under RTEMS. A sample
+// driver has been developed for the pc386 BSP. See
+// pc386/fb_vga.c as a sample.
+// * Added Uniform Input Device interface for MicroWindows.
+// See PC386 bsp for sample drivers for mouse and keyboard (console).
+// * mw-bf: New directory.
+// * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
+// * mw-fb/Makefile.am: New file.
+// * mw-fb/mw_fb.c: New file.
+// * mw-fb/mw_fb.h: New file.
+// * mw-fb/mw_uid.c: New file.
+// * mw-fb/mw_uid.h: New file.
+//
//
/////////////////////////////////////////////////////////////////////////////
*/
@@ -24,7 +41,7 @@
#include <bsp.h>
#include <rtems/mw_uid.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
static rtems_id queue_id = 0;
static int open_count = 0;
diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c
index 7da5f9380d..bf96d52cc4 100644
--- a/cpukit/libcsupport/src/utsname.c
+++ b/cpukit/libcsupport/src/utsname.c
@@ -13,7 +13,7 @@
#include <rtems/score/object.h>
#include <rtems/sptables.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog
index 84b958ee6d..16523a5880 100644
--- a/cpukit/libmisc/ChangeLog
+++ b/cpukit/libmisc/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2000-08-30 Joel Sherrill <joel@OARcorp.com>
+
* mw-fb/.cvsignore: New file.
2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
diff --git a/cpukit/libmisc/mw-fb/mw_uid.c b/cpukit/libmisc/mw-fb/mw_uid.c
index 5d368a96ff..638a458ecc 100644
--- a/cpukit/libmisc/mw-fb/mw_uid.c
+++ b/cpukit/libmisc/mw-fb/mw_uid.c
@@ -13,6 +13,23 @@
// MODIFICATION/HISTORY:
//
// $Log$
+// Revision 1.1 2000/08/30 08:21:24 joel
+// 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
+//
+// * Added generic Micro FrameBuffer interface for MicroWindows.
+// This interface allows MicroWindows to under RTEMS. A sample
+// driver has been developed for the pc386 BSP. See
+// pc386/fb_vga.c as a sample.
+// * Added Uniform Input Device interface for MicroWindows.
+// See PC386 bsp for sample drivers for mouse and keyboard (console).
+// * mw-bf: New directory.
+// * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
+// * mw-fb/Makefile.am: New file.
+// * mw-fb/mw_fb.c: New file.
+// * mw-fb/mw_fb.h: New file.
+// * mw-fb/mw_uid.c: New file.
+// * mw-fb/mw_uid.h: New file.
+//
//
/////////////////////////////////////////////////////////////////////////////
*/
@@ -24,7 +41,7 @@
#include <bsp.h>
#include <rtems/mw_uid.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
static rtems_id queue_id = 0;
static int open_count = 0;
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index f2ae5c1ccb..e301671147 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h,
diff --git a/cpukit/posix/src/aio.c b/cpukit/posix/src/aio.c
index e57880ff78..3deb457676 100644
--- a/cpukit/posix/src/aio.c
+++ b/cpukit/posix/src/aio.c
@@ -5,7 +5,7 @@
#include <aio.h>
#include <rtems/system.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int POSIX_NOT_IMPLEMENTED();
diff --git a/cpukit/posix/src/clockgetcpuclockid.c b/cpukit/posix/src/clockgetcpuclockid.c
index fc0a3535b0..4da1e3f886 100644
--- a/cpukit/posix/src/clockgetcpuclockid.c
+++ b/cpukit/posix/src/clockgetcpuclockid.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/clockgetenableattr.c b/cpukit/posix/src/clockgetenableattr.c
index 6a7d9c1c46..4669afea65 100644
--- a/cpukit/posix/src/clockgetenableattr.c
+++ b/cpukit/posix/src/clockgetenableattr.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/clockgetres.c b/cpukit/posix/src/clockgetres.c
index 3be3439cdb..2cea196372 100644
--- a/cpukit/posix/src/clockgetres.c
+++ b/cpukit/posix/src/clockgetres.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/clockgettime.c b/cpukit/posix/src/clockgettime.c
index 806a29caa3..c7e01102e3 100644
--- a/cpukit/posix/src/clockgettime.c
+++ b/cpukit/posix/src/clockgettime.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/clocksetenableattr.c b/cpukit/posix/src/clocksetenableattr.c
index 2ee5a4ef25..d1a2c8f601 100644
--- a/cpukit/posix/src/clocksetenableattr.c
+++ b/cpukit/posix/src/clocksetenableattr.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index 8157bdfda5..a2d6031699 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/getegid.c b/cpukit/posix/src/getegid.c
index f1169f14bc..f3fbce989d 100644
--- a/cpukit/posix/src/getegid.c
+++ b/cpukit/posix/src/getegid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
gid_t _POSIX_types_Egid = 0;
diff --git a/cpukit/posix/src/geteuid.c b/cpukit/posix/src/geteuid.c
index f28d9387ae..0b149a1d2a 100644
--- a/cpukit/posix/src/geteuid.c
+++ b/cpukit/posix/src/geteuid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
uid_t _POSIX_types_Euid = 0;
diff --git a/cpukit/posix/src/getgid.c b/cpukit/posix/src/getgid.c
index 6b65d12e99..70da92aa6c 100644
--- a/cpukit/posix/src/getgid.c
+++ b/cpukit/posix/src/getgid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
gid_t _POSIX_types_Gid = 0;
diff --git a/cpukit/posix/src/getgroups.c b/cpukit/posix/src/getgroups.c
index e055c0bd9f..20ec49c3ed 100644
--- a/cpukit/posix/src/getgroups.c
+++ b/cpukit/posix/src/getgroups.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/getlogin.c b/cpukit/posix/src/getlogin.c
index 729743696a..784db273e1 100644
--- a/cpukit/posix/src/getlogin.c
+++ b/cpukit/posix/src/getlogin.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/getpgrp.c b/cpukit/posix/src/getpgrp.c
index 6e69d0f33a..dd39b31c9f 100644
--- a/cpukit/posix/src/getpgrp.c
+++ b/cpukit/posix/src/getpgrp.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/getpid.c b/cpukit/posix/src/getpid.c
index 8e912adf39..e3c5a286ea 100644
--- a/cpukit/posix/src/getpid.c
+++ b/cpukit/posix/src/getpid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/getppid.c b/cpukit/posix/src/getppid.c
index 46e49cd3bf..239a47511f 100644
--- a/cpukit/posix/src/getppid.c
+++ b/cpukit/posix/src/getppid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
pid_t _POSIX_types_Ppid = 0;
diff --git a/cpukit/posix/src/getuid.c b/cpukit/posix/src/getuid.c
index 9c2a3425e2..dec4a00a85 100644
--- a/cpukit/posix/src/getuid.c
+++ b/cpukit/posix/src/getuid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
uid_t _POSIX_types_Uid = 0;
diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c
index 1044b50eb3..5d928a8785 100644
--- a/cpukit/posix/src/killinfo.c
+++ b/cpukit/posix/src/killinfo.c
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/score/isr.h>
/*PAGE
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index a9af9423de..a6673038f1 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueueclose.c b/cpukit/posix/src/mqueueclose.c
index 3c1c5a325e..1ccd3de638 100644
--- a/cpukit/posix/src/mqueueclose.c
+++ b/cpukit/posix/src/mqueueclose.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuecreatesupp.c b/cpukit/posix/src/mqueuecreatesupp.c
index 6b3e5dbe58..d1299e018c 100644
--- a/cpukit/posix/src/mqueuecreatesupp.c
+++ b/cpukit/posix/src/mqueuecreatesupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuedeletesupp.c b/cpukit/posix/src/mqueuedeletesupp.c
index f8076d601a..df16188159 100644
--- a/cpukit/posix/src/mqueuedeletesupp.c
+++ b/cpukit/posix/src/mqueuedeletesupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuegetattr.c b/cpukit/posix/src/mqueuegetattr.c
index 9b739e36ea..429037ada2 100644
--- a/cpukit/posix/src/mqueuegetattr.c
+++ b/cpukit/posix/src/mqueuegetattr.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuenametoid.c b/cpukit/posix/src/mqueuenametoid.c
index 3d45508bea..635a74b538 100644
--- a/cpukit/posix/src/mqueuenametoid.c
+++ b/cpukit/posix/src/mqueuenametoid.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuenotify.c b/cpukit/posix/src/mqueuenotify.c
index 36df3fd055..0d5a79c55a 100644
--- a/cpukit/posix/src/mqueuenotify.c
+++ b/cpukit/posix/src/mqueuenotify.c
@@ -26,7 +26,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index c0ae35e465..af3a0957f9 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuereceive.c b/cpukit/posix/src/mqueuereceive.c
index 964dcfe2b9..ac11c5369e 100644
--- a/cpukit/posix/src/mqueuereceive.c
+++ b/cpukit/posix/src/mqueuereceive.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuerecvsupp.c b/cpukit/posix/src/mqueuerecvsupp.c
index ff1d897f17..6c0fafeeac 100644
--- a/cpukit/posix/src/mqueuerecvsupp.c
+++ b/cpukit/posix/src/mqueuerecvsupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuesend.c b/cpukit/posix/src/mqueuesend.c
index 7f236eb590..bb161833ea 100644
--- a/cpukit/posix/src/mqueuesend.c
+++ b/cpukit/posix/src/mqueuesend.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuesendsupp.c b/cpukit/posix/src/mqueuesendsupp.c
index f456758c83..3cd1ed6a3e 100644
--- a/cpukit/posix/src/mqueuesendsupp.c
+++ b/cpukit/posix/src/mqueuesendsupp.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuesetattr.c b/cpukit/posix/src/mqueuesetattr.c
index 6cbdb2a638..5c06ce8ef2 100644
--- a/cpukit/posix/src/mqueuesetattr.c
+++ b/cpukit/posix/src/mqueuesetattr.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuetimedreceive.c b/cpukit/posix/src/mqueuetimedreceive.c
index 7c523faa1d..825522ecb8 100644
--- a/cpukit/posix/src/mqueuetimedreceive.c
+++ b/cpukit/posix/src/mqueuetimedreceive.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuetimedsend.c b/cpukit/posix/src/mqueuetimedsend.c
index 73c043b21d..3bc89c8014 100644
--- a/cpukit/posix/src/mqueuetimedsend.c
+++ b/cpukit/posix/src/mqueuetimedsend.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/mqueuetranslatereturncode.c b/cpukit/posix/src/mqueuetranslatereturncode.c
index 01c832406e..e5cf26ac95 100644
--- a/cpukit/posix/src/mqueuetranslatereturncode.c
+++ b/cpukit/posix/src/mqueuetranslatereturncode.c
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
#include <rtems/score/interr.h>
diff --git a/cpukit/posix/src/mqueueunlink.c b/cpukit/posix/src/mqueueunlink.c
index 26399386a7..73051d72a0 100644
--- a/cpukit/posix/src/mqueueunlink.c
+++ b/cpukit/posix/src/mqueueunlink.c
@@ -24,7 +24,7 @@
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/nanosleep.c b/cpukit/posix/src/nanosleep.c
index 7930c016e5..419b559ca7 100644
--- a/cpukit/posix/src/nanosleep.c
+++ b/cpukit/posix/src/nanosleep.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/posixintervaltotimespec.c b/cpukit/posix/src/posixintervaltotimespec.c
index e5f883095b..e26750341e 100644
--- a/cpukit/posix/src/posixintervaltotimespec.c
+++ b/cpukit/posix/src/posixintervaltotimespec.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/posixtimespecsubtract.c b/cpukit/posix/src/posixtimespecsubtract.c
index eb5e21d83a..d8256bb835 100644
--- a/cpukit/posix/src/posixtimespecsubtract.c
+++ b/cpukit/posix/src/posixtimespecsubtract.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/posixtimespectointerval.c b/cpukit/posix/src/posixtimespectointerval.c
index 388dd791eb..9f4c6727f1 100644
--- a/cpukit/posix/src/posixtimespectointerval.c
+++ b/cpukit/posix/src/posixtimespectointerval.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 28e1ee8319..1df8def77d 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/psignalchecksignal.c b/cpukit/posix/src/psignalchecksignal.c
index f733994067..d2a8c11bcc 100644
--- a/cpukit/posix/src/psignalchecksignal.c
+++ b/cpukit/posix/src/psignalchecksignal.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/psignalclearprocesssignals.c b/cpukit/posix/src/psignalclearprocesssignals.c
index e182045462..2e16cbe3bb 100644
--- a/cpukit/posix/src/psignalclearprocesssignals.c
+++ b/cpukit/posix/src/psignalclearprocesssignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/psignalclearsignals.c b/cpukit/posix/src/psignalclearsignals.c
index 4dc7d9cb02..aacbcb8c84 100644
--- a/cpukit/posix/src/psignalclearsignals.c
+++ b/cpukit/posix/src/psignalclearsignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/psignalsetprocesssignals.c b/cpukit/posix/src/psignalsetprocesssignals.c
index 469735aef1..bc56e89e24 100644
--- a/cpukit/posix/src/psignalsetprocesssignals.c
+++ b/cpukit/posix/src/psignalsetprocesssignals.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index 916ed4724e..25ed95ab39 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -12,7 +12,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tqdata.h>
#include <rtems/score/wkspace.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c
index 6ddd1d6138..37de5fc4c0 100644
--- a/cpukit/posix/src/pthreadkill.c
+++ b/cpukit/posix/src/pthreadkill.c
@@ -19,7 +19,7 @@
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
#include <rtems/score/isr.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int pthread_kill(
pthread_t thread,
diff --git a/cpukit/posix/src/pthreadsigmask.c b/cpukit/posix/src/pthreadsigmask.c
index 7511de17f8..d9e69b52f2 100644
--- a/cpukit/posix/src/pthreadsigmask.c
+++ b/cpukit/posix/src/pthreadsigmask.c
@@ -21,7 +21,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int pthread_sigmask(
int how,
diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c
index 4e5f67b585..d74865e960 100644
--- a/cpukit/posix/src/ptimer1.c
+++ b/cpukit/posix/src/ptimer1.c
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <signal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/timer.h>
/*****************************/
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c
index 30c58ca8a5..32ae41f5fa 100644
--- a/cpukit/posix/src/sched.c
+++ b/cpukit/posix/src/sched.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/tod.h>
#include <rtems/score/thread.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/priority.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/semaphore.c b/cpukit/posix/src/semaphore.c
index eb9664534a..af52b80623 100644
--- a/cpukit/posix/src/semaphore.c
+++ b/cpukit/posix/src/semaphore.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semaphorecreatesupp.c b/cpukit/posix/src/semaphorecreatesupp.c
index 448a658bab..a9500ddd12 100644
--- a/cpukit/posix/src/semaphorecreatesupp.c
+++ b/cpukit/posix/src/semaphorecreatesupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semaphoredeletesupp.c b/cpukit/posix/src/semaphoredeletesupp.c
index 9e136b7f37..22332617fa 100644
--- a/cpukit/posix/src/semaphoredeletesupp.c
+++ b/cpukit/posix/src/semaphoredeletesupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semaphoremp.c b/cpukit/posix/src/semaphoremp.c
index 9eed7d67d6..af2cff052d 100644
--- a/cpukit/posix/src/semaphoremp.c
+++ b/cpukit/posix/src/semaphoremp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#if defined(RTEMS_MULTIPROCESSING)
/*
diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c
index 47879402cc..9f14a1e79f 100644
--- a/cpukit/posix/src/semaphorenametoid.c
+++ b/cpukit/posix/src/semaphorenametoid.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semaphorewaitsupp.c b/cpukit/posix/src/semaphorewaitsupp.c
index c3aba8c90d..816651361f 100644
--- a/cpukit/posix/src/semaphorewaitsupp.c
+++ b/cpukit/posix/src/semaphorewaitsupp.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semclose.c b/cpukit/posix/src/semclose.c
index 999dd85cfa..5088c26f48 100644
--- a/cpukit/posix/src/semclose.c
+++ b/cpukit/posix/src/semclose.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
diff --git a/cpukit/posix/src/semdestroy.c b/cpukit/posix/src/semdestroy.c
index 8f3d41cfa8..5c5becac88 100644
--- a/cpukit/posix/src/semdestroy.c
+++ b/cpukit/posix/src/semdestroy.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semgetvalue.c b/cpukit/posix/src/semgetvalue.c
index 25d8c8d8d4..2b93bf02fa 100644
--- a/cpukit/posix/src/semgetvalue.c
+++ b/cpukit/posix/src/semgetvalue.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/seminit.c b/cpukit/posix/src/seminit.c
index bcff1b0f32..74a6499329 100644
--- a/cpukit/posix/src/seminit.c
+++ b/cpukit/posix/src/seminit.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c
index 8bcf4fccf1..f395d8f93d 100644
--- a/cpukit/posix/src/semopen.c
+++ b/cpukit/posix/src/semopen.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c
index 5a646eee82..2228c1c072 100644
--- a/cpukit/posix/src/sempost.c
+++ b/cpukit/posix/src/sempost.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semtimedwait.c b/cpukit/posix/src/semtimedwait.c
index e237749ff7..bfbd9d9320 100644
--- a/cpukit/posix/src/semtimedwait.c
+++ b/cpukit/posix/src/semtimedwait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semtrywait.c b/cpukit/posix/src/semtrywait.c
index c29a2f3dde..b7513ea5a2 100644
--- a/cpukit/posix/src/semtrywait.c
+++ b/cpukit/posix/src/semtrywait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c
index d687629e46..55462fb329 100644
--- a/cpukit/posix/src/semunlink.c
+++ b/cpukit/posix/src/semunlink.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/semwait.c b/cpukit/posix/src/semwait.c
index f46db81852..f74a7fa0c4 100644
--- a/cpukit/posix/src/semwait.c
+++ b/cpukit/posix/src/semwait.c
@@ -14,7 +14,7 @@
#include <rtems/score/object.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/setpgid.c b/cpukit/posix/src/setpgid.c
index 46db5b29ed..295a961c04 100644
--- a/cpukit/posix/src/setpgid.c
+++ b/cpukit/posix/src/setpgid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/setsid.c b/cpukit/posix/src/setsid.c
index 8d56ea6e72..6594dec039 100644
--- a/cpukit/posix/src/setsid.c
+++ b/cpukit/posix/src/setsid.c
@@ -9,7 +9,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*PAGE
*
diff --git a/cpukit/posix/src/sigaction.c b/cpukit/posix/src/sigaction.c
index 11bbc358de..f7c525e002 100644
--- a/cpukit/posix/src/sigaction.c
+++ b/cpukit/posix/src/sigaction.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/score/isr.h>
/*
diff --git a/cpukit/posix/src/sigaddset.c b/cpukit/posix/src/sigaddset.c
index 202116a1d1..ee185ecec3 100644
--- a/cpukit/posix/src/sigaddset.c
+++ b/cpukit/posix/src/sigaddset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigaddset(
sigset_t *set,
diff --git a/cpukit/posix/src/sigdelset.c b/cpukit/posix/src/sigdelset.c
index ac5e1adfa6..0322d45190 100644
--- a/cpukit/posix/src/sigdelset.c
+++ b/cpukit/posix/src/sigdelset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*
* 3.3.3 Manipulate Signal Sets, P1003.1b-1993, p. 69
diff --git a/cpukit/posix/src/sigemptyset.c b/cpukit/posix/src/sigemptyset.c
index d771f3ede2..3f792bc0fb 100644
--- a/cpukit/posix/src/sigemptyset.c
+++ b/cpukit/posix/src/sigemptyset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigemptyset(
sigset_t *set
diff --git a/cpukit/posix/src/sigfillset.c b/cpukit/posix/src/sigfillset.c
index b3a0447602..bf7ef93ee2 100644
--- a/cpukit/posix/src/sigfillset.c
+++ b/cpukit/posix/src/sigfillset.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigfillset(
sigset_t *set
diff --git a/cpukit/posix/src/sigismember.c b/cpukit/posix/src/sigismember.c
index df617ad0bc..96d6bb127d 100644
--- a/cpukit/posix/src/sigismember.c
+++ b/cpukit/posix/src/sigismember.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigismember(
const sigset_t *set,
diff --git a/cpukit/posix/src/sigpending.c b/cpukit/posix/src/sigpending.c
index 2699645150..2f8fb8d0e2 100644
--- a/cpukit/posix/src/sigpending.c
+++ b/cpukit/posix/src/sigpending.c
@@ -18,7 +18,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
int sigpending(
sigset_t *set
diff --git a/cpukit/posix/src/sigtimedwait.c b/cpukit/posix/src/sigtimedwait.c
index 276b9b61af..3300b7383d 100644
--- a/cpukit/posix/src/sigtimedwait.c
+++ b/cpukit/posix/src/sigtimedwait.c
@@ -19,7 +19,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c
index 1eb96d5264..e415285f94 100644
--- a/cpukit/posix/src/time.c
+++ b/cpukit/posix/src/time.c
@@ -11,7 +11,7 @@
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
#include <rtems/posix/time.h>
/*PAGE
diff --git a/cpukit/posix/src/types.c b/cpukit/posix/src/types.c
index 88fc0f5af4..7243b5855d 100644
--- a/cpukit/posix/src/types.c
+++ b/cpukit/posix/src/types.c
@@ -11,7 +11,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
-#include <rtems/posix/seterr.h>
+#include <rtems/seterr.h>
/*
* TEMPORARY
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index bc1096298a..b636ec81e7 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,4 +1,10 @@
+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.
+
2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/system.h: Include cpuopts.h for __i386__.
diff --git a/cpukit/score/include/rtems/seterr.h b/cpukit/score/include/rtems/seterr.h
new file mode 100644
index 0000000000..ea951ac8b2
--- /dev/null
+++ b/cpukit/score/include/rtems/seterr.h
@@ -0,0 +1,22 @@
+/*
+ * 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 __RTEMS_SET_ERRNO_h
+#define __RTEMS_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 */