summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 18:01:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 18:01:40 -0800
commit7cccec04962741b0d37bc92e580e1029b2d49849 (patch)
tree85bcf689f41fe4e12996b85362385fc8973fa4dd
parent6ec57ead120a3d42afcb76da012109dd713f12d9 (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.ac2
-rw-r--r--get_load.c2
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`
diff --git a/get_load.c b/get_load.c
index 77b6779..dc07d60 100644
--- a/get_load.c
+++ b/get_load.c
@@ -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)