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:55:46 -0800 |
commit | 862292d9509856cfd311f9741db059b92a5fd78a (patch) | |
tree | ba029ebe045459119dbef4a24ebb52490946c934 /dsimple.h | |
parent | 431c1ed9e1b445e20a9c0413c3faeee566755b4d (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 | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -39,6 +39,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)) @@ -65,8 +67,4 @@ void usage(void); #define X_USAGE "[host:display]" /* X arguments handled by Get_Display_Name */ -#ifdef __GNUC__ -void Fatal_Error(char *, ...) __attribute__((__noreturn__)); -#else -void Fatal_Error(char *, ...); -#endif +void Fatal_Error(char *, ...) _X_NORETURN; |