summaryrefslogtreecommitdiffstats
path: root/bsd-rresvport.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-06-23 08:23:34 +1000
committerDamien Miller <djm@mindrot.org>2000-06-23 08:23:34 +1000
commitb54b40ef06517dc3091253228f06d3bd54f19a82 (patch)
treead094e0baa6a0af32ee0ceda85369d464e35b85c /bsd-rresvport.c
parentc19fd5f4e25f58af35cbede8a442ed3965e32eb0 (diff)
- (djm) Use sa_family_t in prototype for rresvport_af. Patch from
Svante Signell <svante.signell@telia.com> - (djm) Autoconf logic to define sa_family_t if it is missing
Diffstat (limited to 'bsd-rresvport.c')
-rw-r--r--bsd-rresvport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-rresvport.c b/bsd-rresvport.c
index 99c150e0..fa4af183 100644
--- a/bsd-rresvport.c
+++ b/bsd-rresvport.c
@@ -55,7 +55,7 @@ rresvport(alport)
int
rresvport_af(alport, af)
int *alport;
- int af;
+ sa_family_t af;
{
struct sockaddr_storage ss;
struct sockaddr *sa;