diff options
author | Damien Miller <djm@mindrot.org> | 2000-07-09 21:23:52 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-07-09 21:23:52 +1000 |
commit | 8148fa3bd328e6d3f35a411658a3acf9b36bf30a (patch) | |
tree | 21a666f1399bfddd02477cf61cac9d6a152e75a6 | |
parent | 4e99720563ae850c5d5a1c86e45ac51173fbef9c (diff) |
- (djm) Match prototype and function declaration for rresvport_af.
Problem report from Niklas Edmundsson <nikke@ing.umu.se>
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | bsd-rresvport.c | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20000709 | 1 | 20000709 |
2 | - (djm) Only enable PAM_TTY kludge for Linux. Problem report from | 2 | - (djm) Only enable PAM_TTY kludge for Linux. Problem report from |
3 | Kevin Steves <stevesk@sweden.hp.com> | 3 | Kevin Steves <stevesk@sweden.hp.com> |
4 | - (djm) Match prototype and function declaration for rresvport_af. | ||
5 | Problem report from Niklas Edmundsson <nikke@ing.umu.se> | ||
4 | 6 | ||
5 | 20000708 | 7 | 20000708 |
6 | - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from | 8 | - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from |
diff --git a/bsd-rresvport.c b/bsd-rresvport.c index fa4af183f..cda4c36aa 100644 --- a/bsd-rresvport.c +++ b/bsd-rresvport.c | |||
@@ -52,10 +52,8 @@ rresvport(alport) | |||
52 | } | 52 | } |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | int | 55 | int |
56 | rresvport_af(alport, af) | 56 | rresvport_af(int *alport, sa_family_t af) |
57 | int *alport; | ||
58 | sa_family_t af; | ||
59 | { | 57 | { |
60 | struct sockaddr_storage ss; | 58 | struct sockaddr_storage ss; |
61 | struct sockaddr *sa; | 59 | struct sockaddr *sa; |