diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 17:42:40 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 17:42:40 +1100 |
commit | 91b34dc18373cd403a8e25ca5ca69cddb2486edc (patch) | |
tree | 2fc2b335b23530b0c01d671c135c8cf71f01379c /openbsd-compat/rresvport.c | |
parent | ffcd0ecf6be104caec2dbaf27460a11eb425cf52 (diff) |
- (dtucker) [openbsd-compat/rresvport.c] Update from OpenBSD 1.6 -> 1.8.
Diffstat (limited to 'openbsd-compat/rresvport.c')
-rw-r--r-- | openbsd-compat/rresvport.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index aa72f4ba..d13047b3 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c @@ -34,22 +34,15 @@ #ifndef HAVE_RRESVPORT_AF -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: rresvport.c,v 1.6 2003/06/03 02:11:35 deraadt Exp $"; -#endif /* LIBC_SCCS and not lint */ - -#include "includes.h" - #if 0 int -rresvport(alport) - int *alport; +rresvport(int *alport) { return rresvport_af(alport, AF_INET); } #endif -int +int rresvport_af(int *alport, sa_family_t af) { struct sockaddr_storage ss; |