summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/rresvport.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-11-10 17:42:40 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-11-10 17:42:40 +1100
commit91b34dc18373cd403a8e25ca5ca69cddb2486edc (patch)
tree2fc2b335b23530b0c01d671c135c8cf71f01379c /openbsd-compat/rresvport.c
parentffcd0ecf6be104caec2dbaf27460a11eb425cf52 (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.c11
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;