summaryrefslogtreecommitdiff
path: root/app/xwd/dsimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/xwd/dsimple.h')
-rw-r--r--app/xwd/dsimple.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/xwd/dsimple.h b/app/xwd/dsimple.h
index 1c7fb5a50..895ee8374 100644
--- a/app/xwd/dsimple.h
+++ b/app/xwd/dsimple.h
@@ -61,7 +61,7 @@ Display *Open_Display(const char *);
void Setup_Display_And_Screen(int *, char **);
void Close_Display(void);
Window Select_Window_Args(int *, char **);
-void usage(void);
+void usage(void) _X_NORETURN;
#define X_USAGE "[host:display]" /* X arguments handled by
Get_Display_Name */
@@ -76,9 +76,5 @@ void usage(void);
Window Select_Window(Display *, int);
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;
void outl(char *, ...);