[PATCH] Add rresvport declaration to unistd.h for cygwin

Christopher Faylor cgf@redhat.com
Mon Jan 20 15:27:00 GMT 2003


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__)



More information about the Newlib mailing list