diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 3796334..a73c247 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2003-01-20 Christopher Faylor <cgf@redhat.com> + + * libc/include/sys/unistd.h: Add rresvport declaration for cygwin. + 2003-01-18 Nick Clifton <nickc@redhat.com> * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN, diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index b5ed650..1e5f519 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -88,7 +88,8 @@ ssize_t _EXFUN(pread, (int __fd, void *__buf, size_t __nbytes, off_t __offset)); ssize_t _EXFUN(pwrite, (int __fd, const void *__buf, size_t __nbytes, off_t __offset)); _READ_WRITE_RETURN_TYPE _EXFUN(read, (int __fd, void *__buf, size_t __nbyte )); #if defined(__CYGWIN__) -int _EXFUN(revoke, (char *path)); +int _EXFUN(rresvport, (int *__alport)); +int _EXFUN(revoke, (char *__path)); #endif int _EXFUN(rmdir, (const char *__path )); #if defined(__CYGWIN__) |