diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | xstdcmap.c | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index e930a7c..8141908 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XSTDCMAP, xmu x11) +PKG_CHECK_MODULES(XSTDCMAP, [xmu x11 xproto >= 7.0.17]) AC_CONFIG_FILES([ Makefile @@ -180,7 +180,7 @@ parse(int argc, char **argv) verbose++; } -static void +static void _X_NORETURN Exit(Status status) { if (dpy) @@ -188,7 +188,7 @@ Exit(Status status) exit(status); } -static void +static void _X_NORETURN usage(Status status) { register char **i; @@ -347,10 +347,6 @@ main(int argc, char *argv[]) if (help) { usage(0); - Exit(0); - - /* Muffle gcc */ - return 0; } if (all) { @@ -370,6 +366,4 @@ main(int argc, char *argv[]) "Not all new colormap definitions will be retained.\n"); } Exit((status == 0) ? 1 : 0); - /* Muffle compiler */ - return 0; } |