about summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
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