From 8148fa3bd328e6d3f35a411658a3acf9b36bf30a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 9 Jul 2000 21:23:52 +1000 Subject: [PATCH] - (djm) Match prototype and function declaration for rresvport_af. Problem report from Niklas Edmundsson --- ChangeLog | 2 ++ bsd-rresvport.c | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) 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;