summaryrefslogtreecommitdiff
path: root/xfd.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-20 20:37:10 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-20 20:37:10 -0200
commitd8a9d9cd11fc9d3fca03add3bc830a49139cce20 (patch)
treeca00420238551b0f36360b82e32f832a5cd3d3f7 /xfd.c
parent18323bb7de4573dc32ab38abe634d7035d9bf882 (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xfd.c')
-rw-r--r--xfd.c6
1 files changed, 3 insertions, 3 deletions
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 <X11/extensions/Xrender.h>
#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,