From 356b686774968d312476b66d0c1fb1f21c46305a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 12 Feb 2001 00:59:18 +0000 Subject: Clean up lots of warnings. --- libc/inet/rpc/get_myaddress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/inet/rpc/get_myaddress.c') diff --git a/libc/inet/rpc/get_myaddress.c b/libc/inet/rpc/get_myaddress.c index b25fb8216..53cebe81c 100644 --- a/libc/inet/rpc/get_myaddress.c +++ b/libc/inet/rpc/get_myaddress.c @@ -45,11 +45,13 @@ #include #include #include +#include +#include #ifdef __linux__ /* DO use gethostbyname because it's portable */ #include -get_myaddress(addr) +void get_myaddress(addr) struct sockaddr_in *addr; { char localhost[256 + 1]; -- cgit v1.2.3