summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-16 22:52:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-16 22:52:27 +0000
commit089abb6d6bd4e5de6cb183163b93d8784cc599f1 (patch)
tree338f9c2513d08077aa7907118e45410c0b944f3c
parentcf42e73556a02b6789ca6c6f6aa058ac7f25b6b5 (diff)
downloadrtems-089abb6d6bd4e5de6cb183163b93d8784cc599f1.tar.bz2
2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/getegid.c: Add #include <rtems/userenv.h>. Remove #include <rtems/libio_.h>. * src/geteuid.c: Ditto. * src/getgid.c: Ditto. * src/getlogin.c: Ditto. * src/getuid.c: Ditto.
-rw-r--r--c/src/exec/posix/ChangeLog10
-rw-r--r--c/src/exec/posix/src/getegid.c5
-rw-r--r--c/src/exec/posix/src/geteuid.c4
-rw-r--r--c/src/exec/posix/src/getgid.c4
-rw-r--r--c/src/exec/posix/src/getlogin.c5
-rw-r--r--c/src/exec/posix/src/getuid.c4
-rw-r--r--cpukit/posix/ChangeLog10
-rw-r--r--cpukit/posix/src/getegid.c5
-rw-r--r--cpukit/posix/src/geteuid.c4
-rw-r--r--cpukit/posix/src/getgid.c4
-rw-r--r--cpukit/posix/src/getlogin.c5
-rw-r--r--cpukit/posix/src/getuid.c4
12 files changed, 40 insertions, 24 deletions
diff --git a/c/src/exec/posix/ChangeLog b/c/src/exec/posix/ChangeLog
index 2aa8f5defd..ff7f08e46e 100644
--- a/c/src/exec/posix/ChangeLog
+++ b/c/src/exec/posix/ChangeLog
@@ -1,3 +1,13 @@
+2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * src/getegid.c: Add #include <rtems/userenv.h>.
+ Remove #include <rtems/libio_.h>.
+ * src/geteuid.c: Ditto.
+ * src/getgid.c: Ditto.
+ * src/getlogin.c: Ditto.
+ * src/getuid.c: Ditto.
+
+
2001-01-16 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/posix/mutex.inl (_POSIX_Mutex_Get_support): Corrected
diff --git a/c/src/exec/posix/src/getegid.c b/c/src/exec/posix/src/getegid.c
index c7c48603b5..8fcec2f6a7 100644
--- a/c/src/exec/posix/src/getegid.c
+++ b/c/src/exec/posix/src/getegid.c
@@ -14,11 +14,10 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.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 9e58615446..bf996d3913 100644
--- a/c/src/exec/posix/src/geteuid.c
+++ b/c/src/exec/posix/src/geteuid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.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 24bd88a2b4..94af978376 100644
--- a/c/src/exec/posix/src/getgid.c
+++ b/c/src/exec/posix/src/getgid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
gid_t _POSIX_types_Gid = 0;
*/
diff --git a/c/src/exec/posix/src/getlogin.c b/c/src/exec/posix/src/getlogin.c
index 08a16c6430..cd394224b2 100644
--- a/c/src/exec/posix/src/getlogin.c
+++ b/c/src/exec/posix/src/getlogin.c
@@ -14,9 +14,8 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/seterr.h>
+#include <rtems/userenv.h>
-#include <rtems/libio_.h>
-#include <string.h>
#include <unistd.h>
#include <pwd.h>
@@ -28,7 +27,7 @@
*/
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
static char _POSIX_types_Getlogin_buffer[ LOGIN_NAME_MAX ];
*/
diff --git a/c/src/exec/posix/src/getuid.c b/c/src/exec/posix/src/getuid.c
index aafc818c01..f37ea30960 100644
--- a/c/src/exec/posix/src/getuid.c
+++ b/c/src/exec/posix/src/getuid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
uid_t _POSIX_types_Uid = 0;
*/
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index 2aa8f5defd..ff7f08e46e 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,13 @@
+2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * src/getegid.c: Add #include <rtems/userenv.h>.
+ Remove #include <rtems/libio_.h>.
+ * src/geteuid.c: Ditto.
+ * src/getgid.c: Ditto.
+ * src/getlogin.c: Ditto.
+ * src/getuid.c: Ditto.
+
+
2001-01-16 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/posix/mutex.inl (_POSIX_Mutex_Get_support): Corrected
diff --git a/cpukit/posix/src/getegid.c b/cpukit/posix/src/getegid.c
index c7c48603b5..8fcec2f6a7 100644
--- a/cpukit/posix/src/getegid.c
+++ b/cpukit/posix/src/getegid.c
@@ -14,11 +14,10 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
gid_t _POSIX_types_Egid = 0;
*/
diff --git a/cpukit/posix/src/geteuid.c b/cpukit/posix/src/geteuid.c
index 9e58615446..bf996d3913 100644
--- a/cpukit/posix/src/geteuid.c
+++ b/cpukit/posix/src/geteuid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
uid_t _POSIX_types_Euid = 0;
*/
diff --git a/cpukit/posix/src/getgid.c b/cpukit/posix/src/getgid.c
index 24bd88a2b4..94af978376 100644
--- a/cpukit/posix/src/getgid.c
+++ b/cpukit/posix/src/getgid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
gid_t _POSIX_types_Gid = 0;
*/
diff --git a/cpukit/posix/src/getlogin.c b/cpukit/posix/src/getlogin.c
index 08a16c6430..cd394224b2 100644
--- a/cpukit/posix/src/getlogin.c
+++ b/cpukit/posix/src/getlogin.c
@@ -14,9 +14,8 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/seterr.h>
+#include <rtems/userenv.h>
-#include <rtems/libio_.h>
-#include <string.h>
#include <unistd.h>
#include <pwd.h>
@@ -28,7 +27,7 @@
*/
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
static char _POSIX_types_Getlogin_buffer[ LOGIN_NAME_MAX ];
*/
diff --git a/cpukit/posix/src/getuid.c b/cpukit/posix/src/getuid.c
index aafc818c01..f37ea30960 100644
--- a/cpukit/posix/src/getuid.c
+++ b/cpukit/posix/src/getuid.c
@@ -15,10 +15,10 @@
#include <rtems/score/object.h>
#include <rtems/seterr.h>
-#include <rtems/libio_.h>
+#include <rtems/userenv.h>
/*
- * MACRO in libio_.h
+ * MACRO in userenv.h
*
uid_t _POSIX_types_Uid = 0;
*/