summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-04 10:08:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-04 10:08:51 +0000
commitab79ee6808a768bc72cd1158f93ba8a50a0615e5 (patch)
tree098c71fcd2806ff9a8bc8820bffbf1e08f6c5f5d /libc/inet
parent0ee72c0b1534e16e6240e99f822b2401cfc1dd4d (diff)
Yet more minor cleanups
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/resolv.c4
1 files changed, 2 insertions, 2 deletions
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];