diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-28 20:06:16 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-02-01 19:54:03 -0800 |
commit | 1f20efb09b0d437e0618b7588212e2e0b9ffd3b2 (patch) | |
tree | 785f311123045bcfc5f872572fcc0b2509fc6c4d /dsimple.h | |
parent | 9b529480074120f8228662ede175bfa65f6ece8c (diff) |
Use _X_NORETURN from xproto 7.0.17 instead of local check
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'dsimple.h')
-rw-r--r-- | dsimple.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -37,6 +37,8 @@ from The Open Group. * Send bugs, etc. to chariot@athena.mit.edu. */ +#include <X11/Xfuncproto.h> + /* Simple helper macros */ #ifndef MAX #define MAX(a,b) (((a)>(b))?(a):(b)) @@ -77,8 +79,5 @@ void usage(void); Window Select_Window(Display *, int descend); Window Window_With_Name(Display *, Window, const char *); -#ifdef __GNUC__ -void Fatal_Error(char *, ...) __attribute__((__noreturn__)); -#else -void Fatal_Error(char *, ...); -#endif + +void Fatal_Error(char *, ...) _X_NORETURN; |