summaryrefslogtreecommitdiff
path: root/xev.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-06-11 12:14:03 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-06-11 12:14:03 -0700
commit9588a366cd0ca9b38cc545a8f70ae1f70f062ee9 (patch)
treeabd986474b5bdcb406a0cd8600aa4dac1f9afd6f /xev.c
parentfc70d05dad45c92809ec5e84090e7708b21815cd (diff)
Mark global variables as "static" since there's only one source file
Quiets clang -Wmissing-variable-declarations warnings Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xev.c')
-rw-r--r--xev.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/xev.c b/xev.c
index 5b352df..ed9bf3d 100644
--- a/xev.c
+++ b/xev.c
@@ -63,23 +63,23 @@ from the X Consortium.
typedef unsigned long Pixel;
-const char *Yes = "YES";
-const char *No = "NO";
-const char *Unknown = "unknown";
+static const char *Yes = "YES";
+static const char *No = "NO";
+static const char *Unknown = "unknown";
-const char *ProgramName;
-Display *dpy;
-int screen;
+static const char *ProgramName;
+static Display *dpy;
+static int screen;
-XIC xic = NULL;
+static XIC xic = NULL;
-Atom wm_delete_window;
-Atom wm_protocols;
+static Atom wm_delete_window;
+static Atom wm_protocols;
-Bool have_rr;
-int rr_event_base, rr_error_base;
+static Bool have_rr;
+static int rr_event_base, rr_error_base;
-Bool single_line = False;
+static Bool single_line = False;
enum EventMaskIndex {
EVENT_MASK_INDEX_CORE,