summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-01-06 00:34:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-01-15 09:01:28 -0800
commita1c283e6f39117301319b60e261e9d1e22ea0d4d (patch)
treec131ee137acd0cf80c25fff1be56b96157de8b03 /proto.h
parenta66cdfd0978015c2f3eedc968a40637f850aa917 (diff)
downloadxscope-a1c283e6f39117301319b60e261e9d1e22ea0d4d.tar.gz
Mark panic() as _X_NORETURN
Makes the dependency on x11proto explicit - it was already needed for the X11 headers included in various files, but now needs to be at least 7.0.17 for the _X_NORETURN definition in Xfuncproto.h Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 3c338c7..d86e55b 100644
--- a/proto.h
+++ b/proto.h
@@ -1,9 +1,10 @@
#include "x11.h"
+#include <X11/Xfuncproto.h>
/* common.c */
extern void enterprocedure (const char *s);
extern void warn (const char *s);
-extern void panic (const char *s);
+extern void panic (const char *s) _X_NORETURN;
extern void SetSignalHandling (void);
extern void SetUpConnectionSocket (int iport, void (*connectionFunc) (int));