summaryrefslogtreecommitdiff
path: root/src/twm.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:24:22 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:24:22 -0700
commitafcad0de54ecd1a8bfaf261e4e6882985a234963 (patch)
treec3cbfe52cc80dacab9ff14c148e6a55cf1d90577 /src/twm.c
parent4c2ff3f0a6bae8b369dfb74267f7fa52d511dfb2 (diff)
Make some more previously global variables into file-scoped statics
Not used from other source files, so no need to export them Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/twm.c')
-rw-r--r--src/twm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/twm.c b/src/twm.c
index 7a30aad..e7791da 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -103,14 +103,14 @@ ScreenInfo **ScreenList; /* structures for each screen */
ScreenInfo *Scr = NULL; /* the cur and prev screens */
int PreviousScreen; /* last screen that we were on */
int FirstScreen; /* TRUE ==> first screen of display */
-Bool PrintErrorMessages = False; /* controls error messages */
+static Bool PrintErrorMessages = False; /* controls error messages */
static int RedirectError; /* TRUE ==> another window manager running */
static int TwmErrorHandler ( Display *dpy, XErrorEvent *event ); /* for settting RedirectError */
static int CatchRedirectError ( Display *dpy, XErrorEvent *event ); /* for everything else */
static SIGNAL_T sigHandler(int);
char Info[INFO_LINES][INFO_SIZE]; /* info strings to print */
int InfoLines;
-char *InitFile = NULL;
+static char *InitFile = NULL;
Cursor UpperLeftCursor; /* upper Left corner cursor */
Cursor RightButt;
@@ -145,7 +145,7 @@ char **Argv;
Bool RestartPreviousState = False; /* try to restart in previous state */
-unsigned long black, white;
+static unsigned long black, white;
Atom TwmAtoms[11];