summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-05-25 12:44:53 +0200
committerCyril Brulebois <kibi@debian.org>2011-05-25 12:44:53 +0200
commit4b688b35be31f76f45381eb6f53d3e9eb5f58e0f (patch)
tree4b4c8f99b973d8c46efc23562d1d31f2553ffb2d
parentc43431d96b6ea7f29e2c2a5bc860277845fdee1b (diff)
xts5: Fix missing type specifier.
The following warnings go away accordingly: | CC checkfont.lo | checkfont.c:155:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] | static check1prop(XFontStruct *fsp, XFontProp *fp, char *str); | ~~~~~~ ^ | checkfont.c:451:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] | check1prop(fsp, fp, str) | ^ Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r--xts5/src/lib/checkfont.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xts5/src/lib/checkfont.c b/xts5/src/lib/checkfont.c
index f2c54985..e1c56246 100644
--- a/xts5/src/lib/checkfont.c
+++ b/xts5/src/lib/checkfont.c
@@ -152,11 +152,11 @@ int nfontinfo = NELEM(fontinfo);
#ifdef __STDC__
static int checkprops(XFontStruct *fsp, XFontStruct *good, char *str);
static XCharStruct *getmetric(XFontStruct *fsp, unsigned int c);
-static check1prop(XFontStruct *fsp, XFontProp *fp, char *str);
+static int check1prop(XFontStruct *fsp, XFontProp *fp, char *str);
#else
static int checkprops();
static XCharStruct *getmetric();
-static check1prop();
+static int check1prop();
#endif
/*
@@ -447,7 +447,7 @@ int pass = 0, fail = 0;
/*
* Check a single property
*/
-static
+static int
check1prop(fsp, fp, str)
XFontStruct *fsp;
XFontProp *fp;