summaryrefslogtreecommitdiff
path: root/src/twm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/twm.h')
-rw-r--r--src/twm.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/twm.h b/src/twm.h
index 517451a..2263685 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -74,10 +74,6 @@ from The Open Group.
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
-#ifndef GCC_NORETURN
-#define GCC_NORETURN _X_NORETURN
-#endif
-
#ifndef WithdrawnState
#define WithdrawnState 0
#endif
@@ -394,7 +390,7 @@ NewBitmapCursor(Cursor *cp, char *source, char *mask);
extern Pixmap
CreateMenuIcon(int height, unsigned int *widthp, unsigned int *heightp);
-extern void twmError(const char *, ...) _X_ATTRIBUTE_PRINTF(1,2) GCC_NORETURN;
+extern void twmError(const char *, ...) _X_ATTRIBUTE_PRINTF(1,2) _X_NORETURN;
extern void twmWarning(const char *, ...) _X_ATTRIBUTE_PRINTF(1,2);
extern void twmVerbose(const char *, ...) _X_ATTRIBUTE_PRINTF(1,2);
extern void twmMessage(const char *, ...) _X_ATTRIBUTE_PRINTF(1,2);