From 42815405686498bb464fa20621bbcde00096a42d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 11 Dec 2006 18:59:14 -0800 Subject: sparse warning: non-ANSI definition of function 'get_hostname' --- gethost.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gethost.c') diff --git a/gethost.c b/gethost.c index 4fd9d77..d6f3c9c 100644 --- a/gethost.c +++ b/gethost.c @@ -115,8 +115,7 @@ nameserver_lost(int sig) #endif char * -get_hostname (auth) - Xauth *auth; +get_hostname (Xauth *auth) { static struct hostent *hp; int af; -- cgit v1.2.1