summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--xsm.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index a2195a8..192b7b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ AC_SUBST(RSH)
AC_CHECK_FUNCS([mkstemp putenv])
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XSM, [x11 xt > 1.0.99 ice sm xaw7])
+PKG_CHECK_MODULES(XSM, [x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17])
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
AC_ARG_WITH(appdefaultdir,
diff --git a/xsm.h b/xsm.h
index 1ee74e8..10f0274 100644
--- a/xsm.h
+++ b/xsm.h
@@ -196,7 +196,7 @@ extern XtSignalId sig_term_id, sig_usr1_id;
extern void fprintfhex(FILE *fp, unsigned int len, char *cp);
extern Status StartSession(char *name, Bool use_default);
-extern void EndSession(int status);
+extern void EndSession(int status) _X_NORETURN;
extern void SetWM_DELETE_WINDOW(Widget widget, const _XtString delAction);
extern void SetAllSensitive(Bool on);
extern void FreeClient(ClientRec *client, Bool freeProps);
@@ -205,7 +205,7 @@ extern void CloseDownClient(ClientRec *client);
/* misc.c */
extern int strbw(const char *a, const char *b);
-extern void nomem(void);
+extern void nomem(void) _X_NORETURN;
#define Strstr strstr