diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 379633479..a73c24713 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2003-01-20 Christopher Faylor + + * libc/include/sys/unistd.h: Add rresvport declaration for cygwin. + 2003-01-18 Nick Clifton * 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 b5ed650ed..1e5f519dd 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__)