about summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-03-07 14:31:30 +0000
committerAndreas Jaeger <aj@suse.de>2000-03-07 14:31:30 +0000
commitd92c02e833a1cb8cb6b2506067ba5f3550a7de70 (patch)
treeab5673030814856a1edba7364c83bee3efe98d74 /resolv/netdb.h
parent8f95ad1c79f4f950add034b414f86d887047a007 (diff)
downloadglibc-d92c02e833a1cb8cb6b2506067ba5f3550a7de70.tar.gz
glibc-d92c02e833a1cb8cb6b2506067ba5f3550a7de70.tar.xz
glibc-d92c02e833a1cb8cb6b2506067ba5f3550a7de70.zip
Update.
2000-03-07  Andreas Jaeger  <aj@suse.de>

	* resolv/netdb.h: The descriptions of rresvport and rresvport_af
	were swapped.
	Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
	libc/1636.
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 716753c3cd..354d9ddfdb 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