diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-20 18:28:02 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-20 18:28:02 +0300 |
commit | f9e41155f05b941f158394cd50f54f22736b6996 (patch) | |
tree | 311b81de3fe8bc5ebc8d8669e07f1d7e999caa09 /newlib | |
parent | d52cfbfdd88ba563af13f0e283472c825f785cd7 (diff) |
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
Diffstat (limited to 'newlib')
-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 379633479..a73c24713 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 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__) |