diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 22:24:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 22:24:22 -0700 |
commit | afcad0de54ecd1a8bfaf261e4e6882985a234963 (patch) | |
tree | c3cbfe52cc80dacab9ff14c148e6a55cf1d90577 /src/twm.c | |
parent | 4c2ff3f0a6bae8b369dfb74267f7fa52d511dfb2 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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]; |