From b9f6482d5fc413222334c2370ef8b9693f4b50fd Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 11 Nov 2011 11:07:30 -0800 Subject: Add missing _X_NORETURN to uFatalError Signed-off-by: Jeremy Huddleston --- configure.ac | 2 +- utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9c400b6..383ccf0 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ fi AC_CHECK_FUNCS([strdup strcasecmp]) -REQUIRED_MODULES="x11 xkbfile" +REQUIRED_MODULES="x11 xkbfile xproto >= 7.0.17" # Checks for pkg-config packages PKG_CHECK_MODULES(XKBCOMP, [$REQUIRED_MODULES]) diff --git a/utils.h b/utils.h index 3bc61cb..63eda36 100644 --- a/utils.h +++ b/utils.h @@ -159,7 +159,7 @@ uInformation(const char * /* s */ , ... #define FATAL uFatalError extern void uFatalError(const char * /* s */ , ... - ) _X_ATTRIBUTE_PRINTF(1, 2); + ) _X_ATTRIBUTE_PRINTF(1, 2) _X_NORETURN; /* WSGO stands for "Weird Stuff Going On" */ #define WSGO6 uInternalError -- cgit v1.2.3