diff --git a/ChangeLog b/ChangeLog index a37d7b4ec..9e22cc329 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 20000709 - (djm) Only enable PAM_TTY kludge for Linux. Problem report from Kevin Steves + - (djm) Match prototype and function declaration for rresvport_af. + Problem report from Niklas Edmundsson 20000708 - (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) } #endif -int -rresvport_af(alport, af) - int *alport; - sa_family_t af; +int +rresvport_af(int *alport, sa_family_t af) { struct sockaddr_storage ss; struct sockaddr *sa;