diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-01-06 00:34:45 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-01-15 09:01:28 -0800 |
commit | a1c283e6f39117301319b60e261e9d1e22ea0d4d (patch) | |
tree | c131ee137acd0cf80c25fff1be56b96157de8b03 /proto.h | |
parent | a66cdfd0978015c2f3eedc968a40637f850aa917 (diff) | |
download | xscope-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)); |