diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-16 17:18:35 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-16 17:18:35 -0700 |
commit | c0b077a85fb2e624ec87fb8bec906ce30bc473e4 (patch) | |
tree | 912d8552e255ba18f21e0ef6ecd3779e6601b6e5 | |
parent | d944df52b7b2c5c9e6789b0ff7bb390108613c6c (diff) |
Mark Syntax() with _X_NORETURN to silence gcc warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | xrefresh.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index fa6531a..e5a23e1 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(XREFRESH, x11) +PKG_CHECK_MODULES(XREFRESH, [x11 xproto >= 7.0.17]) AC_CONFIG_FILES([ Makefile @@ -62,7 +62,7 @@ static Window win; static char *ProgramName; -static void +static void _X_NORETURN Syntax(void) { fprintf (stderr, "usage: %s [-options] [geometry] [display]\n\n", |