diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-05 14:20:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-05 14:20:38 +0000 |
commit | df4669fb1e19ebd05d6760a561d7ce149514cc1b (patch) | |
tree | 43cb8fbc8263e4241325a1f14c6f249c54c3e0ca | |
parent | b929b39e01f354cdfd64cf797fffbb2f9f5b30a7 (diff) |
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/chown.c, libcsupport/src/lchown.c:
Include <unistd.h>. Cleanup included headers.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/chown.c | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/lchown.c | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 55044bde5d..df97d148ec 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * libcsupport/src/chown.c, libcsupport/src/lchown.c: + Include <unistd.h>. Cleanup included headers. + +2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * posix/include/rtems/posix/pthread.h: Add _POSIX_Threads_Initialize_user_threads_body. * rtems/include/rtems/rtems/tasks.h: diff --git a/cpukit/libcsupport/src/chown.c b/cpukit/libcsupport/src/chown.c index 3cab985cad..9ecaea11f7 100644 --- a/cpukit/libcsupport/src/chown.c +++ b/cpukit/libcsupport/src/chown.c @@ -15,14 +15,10 @@ #include "config.h" #endif -#include <sys/stat.h> -#include <errno.h> +#include <unistd.h> #include <rtems.h> -#include <rtems/libio.h> - #include <rtems/libio_.h> -#include <rtems/seterr.h> int _chown_helper( const char *path, diff --git a/cpukit/libcsupport/src/lchown.c b/cpukit/libcsupport/src/lchown.c index c244e08879..1092f9017e 100644 --- a/cpukit/libcsupport/src/lchown.c +++ b/cpukit/libcsupport/src/lchown.c @@ -15,7 +15,7 @@ #include "config.h" #endif -#include <sys/stat.h> +#include <unistd.h> #include <rtems.h> |