diff options
author | otto <> | 2005-03-25 13:24:12 +0000 |
---|---|---|
committer | otto <> | 2005-03-25 13:24:12 +0000 |
commit | 2f490723a2e673b2457f65c4b06cacb7d700a3e8 (patch) | |
tree | c9dcd3a58da3f7404d9e626fe10abdd67c384fba /src/lib/libc/net/rresvport.c | |
parent | 9a03506f8308b6023a12f108a2072feb958607a6 (diff) | |
download | openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.gz openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.bz2 openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.zip |
ansify. ok deraadt@ moritz@
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; |