(__gethostbyaddr): Fix types of first and second parameter.
authordrepper <drepper>
Sun, 30 Apr 2000 04:09:08 +0000 (04:09 +0000)
committerdrepper <drepper>
Sun, 30 Apr 2000 04:09:08 +0000 (04:09 +0000)
include/netdb.h

index eeede8d..f7f570e 100644 (file)
@@ -7,8 +7,8 @@ extern int __gethostent_r (struct hostent *__restrict __result_buf,
                           struct hostent **__restrict __result,
                           int *__restrict __h_errnop);
 
-extern int __gethostbyaddr_r (__const char *__restrict __addr,
-                             size_t __len, int __type,
+extern int __gethostbyaddr_r (__const void *__restrict __addr,
+                             socklen_t __len, int __type,
                              struct hostent *__restrict __result_buf,
                              char *__restrict __buf, size_t __buflen,
                              struct hostent **__restrict __result,