From 5983a4e69d8f7ee85f6726b403b4bcc236c8d8b1 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 16 Apr 2009 20:01:13 -0700 Subject: [PATCH] Scale back global variables Some of the global variables were either not used anymore or only used in the listing code. --- src/xkbcomp/listing.c | 3 +++ src/xkbcomp/xkbcomp.h | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/xkbcomp/listing.c b/src/xkbcomp/listing.c index e509b96..5b4f552 100644 --- a/src/xkbcomp/listing.c +++ b/src/xkbcomp/listing.c @@ -144,6 +144,9 @@ static char **mapOnly; static Listing *list = NULL; +static unsigned verboseLevel; +static unsigned dirsToStrip; + /***====================================================================***/ int diff --git a/src/xkbcomp/xkbcomp.h b/src/xkbcomp/xkbcomp.h index e9d5f47..c45918d 100644 --- a/src/xkbcomp/xkbcomp.h +++ b/src/xkbcomp/xkbcomp.h @@ -113,7 +113,6 @@ typedef struct _ParseCommon #define CreateKeyNames(x) ((x)->flags&AutoKeyNames) extern unsigned warningLevel; -extern unsigned optionalParts; typedef struct _IncludeStmt { @@ -367,10 +366,6 @@ CompileSymbols(XkbFile *file, XkbcDescPtr xkb, unsigned merge); #define WantFullNames (1<<3) #define ListRecursive (1<<4) -extern char *rootDir; -extern unsigned verboseLevel; -extern unsigned dirsToStrip; - extern Bool AddListing(char * /* file */ , char * /* map */ ); -- 2.7.4