summaryrefslogtreecommitdiff
path: root/xhost.c
diff options
context:
space:
mode:
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[])