summaryrefslogtreecommitdiff
path: root/gethost.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:59:14 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:59:14 -0800
commit42815405686498bb464fa20621bbcde00096a42d (patch)
treeb7f03591630ae3843ded4466eb1823efa9096467 /gethost.c
parenta527e14d16de2955dcdd6d14141f51987af7af2c (diff)
downloadxorg-app-xauth-42815405686498bb464fa20621bbcde00096a42d.tar.gz
sparse warning: non-ANSI definition of function 'get_hostname'
Diffstat (limited to 'gethost.c')
-rw-r--r--gethost.c3
1 files changed, 1 insertions, 2 deletions
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;