diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | fstobdf.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a937b33..9a11d73 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ XORG_DEFAULT_OPTIONS AC_CONFIG_HEADERS([config.h]) # Checks for pkg-config packages -PKG_CHECK_MODULES(FSTOBDF, x11 libfs) +PKG_CHECK_MODULES(FSTOBDF, [xproto >= 7.0.17 x11 libfs]) AC_CONFIG_FILES([ Makefile @@ -47,7 +47,9 @@ in this Software without prior written authorization from The Open Group. #include <stdlib.h> #include <string.h> #include "fstobdf.h" -static void + + +static void _X_NORETURN usage(char *progName) { fprintf(stderr, "Usage: %s [-s <font server>] -fn <font name>\n", @@ -55,7 +57,7 @@ usage(char *progName) exit(0); } -static void +static void _X_NORETURN Fail(char *progName) { fprintf(stderr, "%s: unable to dump font\n", progName); |