From d67733133b7a1062628e6c5e7512adf998026b6a Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 22 Jan 2009 14:53:41 -0200 Subject: Correct make distcheck and sparse warnings. --- xkbprint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xkbprint.c') 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 */ -- cgit v1.2.3