summaryrefslogtreecommitdiff
path: root/xkbcomp.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 09:50:55 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-03 11:02:11 -0800
commit0493c7216dd39baeb420583be71af095576dbf74 (patch)
tree0d41116a388b4af4bcf821b994eebe62110a7b2c /xkbcomp.c
parent4119707089b5c14f53bd5ff0b86ee7e575ac9316 (diff)
Mark more functions and variables static
Stop exporting things that aren't used outside the file that defines them. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbcomp.c')
-rw-r--r--xkbcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index c7079ae..98e0d26 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -78,7 +78,7 @@ static const char *fileTypeExt[] = {
};
static unsigned inputFormat, outputFormat;
-char *rootDir;
+static char *rootDir;
static char *inputFile;
static char *inputMap;
static char *outputFile;
@@ -93,7 +93,7 @@ static Bool xkblist = False;
unsigned warningLevel = 5;
unsigned verboseLevel = 0;
unsigned dirsToStrip = 0;
-unsigned optionalParts = 0;
+static unsigned optionalParts = 0;
static char *preErrorMsg = NULL;
static char *postErrorMsg = NULL;
static char *errorPrefix = NULL;