diff options
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 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) | ||
38 | static 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 |
44 | int | 38 | int |
45 | rresvport(alport) | 39 | rresvport(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 | ||
52 | int | 45 | int |
53 | rresvport_af(int *alport, sa_family_t af) | 46 | rresvport_af(int *alport, sa_family_t af) |
54 | { | 47 | { |
55 | struct sockaddr_storage ss; | 48 | struct sockaddr_storage ss; |