diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-20 20:37:10 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-20 20:37:10 -0200 |
commit | d8a9d9cd11fc9d3fca03add3bc830a49139cce20 (patch) | |
tree | ca00420238551b0f36360b82e32f832a5cd3d3f7 /xfd.c | |
parent | 18323bb7de4573dc32ab38abe634d7035d9bf882 (diff) |
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xfd.c')
-rw-r--r-- | xfd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |