summaryrefslogtreecommitdiff
path: root/openbsd-compat/rresvport.c
diff options
context:
space:
mode:
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 aa72f4ba2..d13047b38 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -34,22 +34,15 @@
34 34
35#ifndef HAVE_RRESVPORT_AF 35#ifndef HAVE_RRESVPORT_AF
36 36
37#if defined(LIBC_SCCS) && !defined(lint)
38static char *rcsid = "$OpenBSD: rresvport.c,v 1.6 2003/06/03 02:11:35 deraadt Exp $";
39#endif /* LIBC_SCCS and not lint */
40
41#include "includes.h"
42
43#if 0 37#if 0
44int 38int
45rresvport(alport) 39rresvport(int *alport)
46 int *alport;
47{ 40{
48 return rresvport_af(alport, AF_INET); 41 return rresvport_af(alport, AF_INET);
49} 42}
50#endif 43#endif
51 44
52int 45int
53rresvport_af(int *alport, sa_family_t af) 46rresvport_af(int *alport, sa_family_t af)
54{ 47{
55 struct sockaddr_storage ss; 48 struct sockaddr_storage ss;