summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--xcalc.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8e9d602..7d4ecab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ XORG_DEFAULT_OPTIONS
AC_CHECK_FUNCS([strlcpy])
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XCALC, xaw7 xt x11)
+PKG_CHECK_MODULES(XCALC, [xaw7 xt x11 xproto >= 7.0.17])
PKG_CHECK_MODULES(APPDEFS, xt)
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
diff --git a/xcalc.h b/xcalc.h
index bb6920d..1924bf7 100644
--- a/xcalc.h
+++ b/xcalc.h
@@ -122,8 +122,8 @@ extern XtActionsRec Actions[];
extern int ActionsCount;
/* math.c */
-extern signal_t fperr(int sig);
-extern signal_t illerr(int sig);
+extern signal_t fperr(int sig) _X_NORETURN;
+extern signal_t illerr(int sig) _X_NORETURN;
extern void fail_op(void);
extern int pre_op(int keynum);
extern void post_op(void);
@@ -155,7 +155,7 @@ extern jmp_buf env;
/* xcalc.c */
extern void do_select(Time time);
extern void draw(char *string);
-extern void Quit(void);
+extern void Quit(void) _X_NORETURN;
extern void ringbell(void);
extern void setflag(int indicator, Boolean on);