From ab79ee6808a768bc72cd1158f93ba8a50a0615e5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 4 Oct 2001 10:08:51 +0000 Subject: Yet more minor cleanups --- libc/inet/resolv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/inet/resolv.c') diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index e5558fbde..97e3a3897 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -1132,7 +1132,7 @@ struct netent * getnetbyname(const char * name) #ifdef L_res_init -int res_init() +int res_init(void) { return(0); } @@ -1181,7 +1181,7 @@ int res_query(const char *dname, int class, int type, #ifdef L_gethostbyaddr -struct hostent *gethostbyaddr (const void *addr, __socklen_t len, int type) +struct hostent *gethostbyaddr (const void *addr, socklen_t len, int type) { static struct hostent h; static char namebuf[256]; -- cgit v1.2.3