summaryrefslogtreecommitdiff
path: root/xhost.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-21 19:11:50 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-21 19:11:50 -0200
commit2e313cc7b5f0353e545a874ade80ab568687473f (patch)
tree28b8aba8d4391836baf056aae78aa08405b175ff /xhost.c
parent1ab923fdd812a35dd46fe663780f8c8271aa5d89 (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xhost.c')
-rw-r--r--xhost.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xhost.c b/xhost.c
index 276e370..90a9b9c 100644
--- a/xhost.c
+++ b/xhost.c
@@ -141,9 +141,9 @@ static signal_t nameserver_lost(int sig);
#define NAMESERVER_TIMEOUT 5 /* time to wait for nameserver */
-volatile int nameserver_timedout;
-
-char *ProgramName;
+static volatile int nameserver_timedout;
+
+static char *ProgramName;
#ifdef NEEDSOCKETS
static int
@@ -175,7 +175,7 @@ XFamily(int af)
}
#endif /* NEEDSOCKETS */
-Display *dpy;
+static Display *dpy;
int
main(int argc, char *argv[])