diff options
Diffstat (limited to 'src/lib/libc/net/rresvport.c')
-rw-r--r-- | src/lib/libc/net/rresvport.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/net/rresvport.c b/src/lib/libc/net/rresvport.c index 6e4698e3be..eee872898b 100644 --- a/src/lib/libc/net/rresvport.c +++ b/src/lib/libc/net/rresvport.c | |||
@@ -29,7 +29,7 @@ | |||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #if defined(LIBC_SCCS) && !defined(lint) | 31 | #if defined(LIBC_SCCS) && !defined(lint) |
32 | static char *rcsid = "$OpenBSD: rresvport.c,v 1.6 2003/06/03 02:11:35 deraadt Exp $"; | 32 | static char *rcsid = "$OpenBSD: rresvport.c,v 1.7 2005/03/25 13:24:12 otto Exp $"; |
33 | #endif /* LIBC_SCCS and not lint */ | 33 | #endif /* LIBC_SCCS and not lint */ |
34 | 34 | ||
35 | #include <sys/param.h> | 35 | #include <sys/param.h> |
@@ -53,17 +53,14 @@ static char *rcsid = "$OpenBSD: rresvport.c,v 1.6 2003/06/03 02:11:35 deraadt Ex | |||
53 | #include <netgroup.h> | 53 | #include <netgroup.h> |
54 | 54 | ||
55 | int | 55 | int |
56 | rresvport(alport) | 56 | rresvport(int *alport) |
57 | int *alport; | ||
58 | { | 57 | { |
59 | return rresvport_af(alport, AF_INET); | 58 | return rresvport_af(alport, AF_INET); |
60 | } | 59 | } |
61 | 60 | ||
62 | 61 | ||
63 | int | 62 | int |
64 | rresvport_af(alport, af) | 63 | rresvport_af(int *alport, int af) |
65 | int *alport; | ||
66 | int af; | ||
67 | { | 64 | { |
68 | struct sockaddr_storage ss; | 65 | struct sockaddr_storage ss; |
69 | struct sockaddr *sa; | 66 | struct sockaddr *sa; |