diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/readlink.c | 4 | ||||
-rw-r--r-- | cpukit/posix/src/usleep.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index e0721fb965..4b2a58008a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org> + + * posix/src/usleep.c, libcsupport/src/readlink.c: + Update API to SUSv3. + 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org> * posix/Makefile.am: Unconditionally build src/sleep.c, diff --git a/cpukit/libcsupport/src/readlink.c b/cpukit/libcsupport/src/readlink.c index f2ec9781c5..238830a187 100644 --- a/cpukit/libcsupport/src/readlink.c +++ b/cpukit/libcsupport/src/readlink.c @@ -18,10 +18,10 @@ #include <rtems/libio_.h> #include <rtems/seterr.h> -int readlink( +ssize_t readlink( const char *pathname, char *buf, - int bufsize + size_t bufsize ) { rtems_filesystem_location_info_t loc; diff --git a/cpukit/posix/src/usleep.c b/cpukit/posix/src/usleep.c index 6753cfe713..af09f2cdc8 100644 --- a/cpukit/posix/src/usleep.c +++ b/cpukit/posix/src/usleep.c @@ -15,8 +15,8 @@ #include <rtems/score/tod.h> -unsigned usleep( - unsigned int useconds +int usleep( + useconds_t useconds ) { struct timespec tp; |