This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
[PATCH] Add rresvport declaration to unistd.h for cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 20 Jan 2003 10:28:34 -0500
- Subject: [PATCH] Add rresvport declaration to unistd.h for cygwin
Checked in.
cgf
2003-01-20 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
Index: libc/include/sys/unistd.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.37
diff -u -p -r1.37 unistd.h
--- libc/include/sys/unistd.h 28 Dec 2002 23:20:47 -0000 1.37
+++ libc/include/sys/unistd.h 20 Jan 2003 15:00:34 -0000
@@ -88,7 +88,8 @@ ssize_t _EXFUN(pread, (int __fd, void *_
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__)