summaryrefslogtreecommitdiff
path: root/xkbprint.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 14:53:41 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 14:53:41 -0200
commitd67733133b7a1062628e6c5e7512adf998026b6a (patch)
treecc25f521d83a2938460e12aa3add25cbec0bb6ca /xkbprint.c
parent077871dce17f78ffa94e8bc2de21461fd8a4960d (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xkbprint.c')
-rw-r--r--xkbprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkbprint.c b/xkbprint.c
index 81e85e5..69f107d 100644
--- a/xkbprint.c
+++ b/xkbprint.c
@@ -80,8 +80,8 @@ static Display * outDpy;
static Bool computeDflts= False;
#endif
static XKBPrintArgs args;
- unsigned warningLevel= 5;
- Bool synch;
+static unsigned warningLevel= 5;
+static Bool synch;
/***====================================================================***/
@@ -448,7 +448,7 @@ register int i;
else if (uStringEqual(inputFile,"-")) {
/* Nothing */
}
- else if (strchr(inputFile,':')==0) {
+ else if (strchr(inputFile,':')==NULL) {
int len= strlen(inputFile);
if ((len>4)&&(strcmp(&inputFile[len-4],".xkm")==0)) {
/* Nothing */