diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-20 18:01:35 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-20 18:01:40 -0800 |
commit | 7cccec04962741b0d37bc92e580e1029b2d49849 (patch) | |
tree | 85bcf689f41fe4e12996b85362385fc8973fa4dd | |
parent | 6ec57ead120a3d42afcb76da012109dd713f12d9 (diff) |
Mark xload_error as noreturn
Silences a gcc warning
Raises the minimum version of xproto needed to build to 7.0.17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | get_load.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3c0a1d1..7c94abf 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,7 @@ AM_CONDITIONAL(USE_GETTEXT, test "x$USE_GETTEXT" = "xyes") AC_CHECK_LIB([kstat], [kstat_open]) # Checks for pkg-config packages -PKG_CHECK_MODULES(XLOAD, xaw7 xmu xt x11) +PKG_CHECK_MODULES(XLOAD, xaw7 xmu xt x11 [xproto >= 7.0.17]) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` @@ -201,7 +201,7 @@ void GetLoadPoint( extern long lseek(); #endif -static void xload_error(const char *, const char *); +static void xload_error(const char *, const char *) _X_NORETURN; #if defined(SYSV) && defined(i386) |