From d8a9d9cd11fc9d3fca03add3bc830a49139cce20 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 20 Jan 2009 20:37:10 -0200 Subject: Correct make distcheck and sparse warnings. --- xfd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfd.c') diff --git a/xfd.c b/xfd.c index 6183eed..ea36b08 100644 --- a/xfd.c +++ b/xfd.c @@ -46,7 +46,7 @@ in this Software without prior written authorization from The Open Group. #include #endif -char *ProgramName; +static char *ProgramName; static XrmOptionDescRec xfd_options[] = { {"-fn", "*grid.font", XrmoptionSepArg, (caddr_t) NULL }, @@ -90,7 +90,7 @@ static XtActionsRec xfd_actions[] = { static Atom wm_delete_window; -Widget quitButton, prev16Button, prevButton, nextButton, next16Button; +static Widget quitButton, prev16Button, prevButton, nextButton, next16Button; #define DEF_SELECT_FORMAT "character 0x%04x%02x (%u,%u) (%#o,%#o)" @@ -256,7 +256,7 @@ main(int argc, char *argv[]) FcPatternGetString (xft->pattern, FC_STYLE, 0, &style); size = 0; FcPatternGetDouble (xft->pattern, FC_SIZE, 0, &size); - p = FcPatternBuild (0, + p = FcPatternBuild (NULL, FC_FAMILY, FcTypeString, family, FC_STYLE, FcTypeString, style, FC_SIZE, FcTypeDouble, size, -- cgit v1.2.3