diff options
Diffstat (limited to 'libX11/src/FontNames.c')
-rw-r--r-- | libX11/src/FontNames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/FontNames.c b/libX11/src/FontNames.c index dc097856c..97a0e7a3d 100644 --- a/libX11/src/FontNames.c +++ b/libX11/src/FontNames.c @@ -39,7 +39,7 @@ register Display *dpy, _Xconst char *pattern, /* null-terminated */ int maxNames, int *actualCount) /* RETURN */ -{ +{ register long nbytes; register unsigned i; register int length; @@ -102,7 +102,7 @@ int *actualCount) /* RETURN */ int XFreeFontNames(char **list) -{ +{ if (list) { if (!*(list[0]-1)) { /* from ListFontsWithInfo */ register char **names; |