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 + + * posix/src/usleep.c, libcsupport/src/readlink.c: + Update API to SUSv3. + 2007-04-13 Ralf Corsépius * 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 #include -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 -unsigned usleep( - unsigned int useconds +int usleep( + useconds_t useconds ) { struct timespec tp;