summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'dsimple.h')
-rw-r--r--dsimple.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/dsimple.h b/dsimple.h
index 6af16fd..c01f85d 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -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;