From d92c02e833a1cb8cb6b2506067ba5f3550a7de70 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 7 Mar 2000 14:31:30 +0000 Subject: Update. 2000-03-07 Andreas Jaeger * resolv/netdb.h: The descriptions of rresvport and rresvport_af were swapped. Patch by YOSHIFUJI Hideaki , closes PR libc/1636. --- resolv/netdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resolv') diff --git a/resolv/netdb.h b/resolv/netdb.h index 716753c..354d9dd 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -410,11 +410,11 @@ extern int ruserok_af (__const char *__rhost, int __suser, /* Try to allocate reserved port, returning a descriptor for a socket opened at this port or -1 if unsuccessful. The search for an available port will start at ALPORT and continues with lower numbers. */ -extern int rresvport_af (int *__alport, sa_family_t __af) __THROW; +extern int rresvport (int *__alport) __THROW; /* This is the equivalent function where the protocol can be selected and which therefore can be used for IPv6. */ -extern int rresvport (int *__alport) __THROW; +extern int rresvport_af (int *__alport, sa_family_t __af) __THROW; #endif -- cgit v1.1