summaryrefslogtreecommitdiff
path: root/xev.c
diff options
context:
space:
mode:
Diffstat (limited to 'xev.c')
-rw-r--r--xev.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xev.c b/xev.c
index 23abe74..a54b794 100644
--- a/xev.c
+++ b/xev.c
@@ -75,6 +75,8 @@ Atom wm_protocols;
Bool have_rr;
int rr_event_base, rr_error_base;
+static void usage (void) _X_NORETURN;
+
static void
prologue (XEvent *eventp, char *event_name)
{
@@ -863,11 +865,6 @@ set_sizehints (XSizeHints *hintp, int min_width, int min_height,
}
}
-
-#if defined(__GNUC__) && \
- ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
-static void usage (void) __attribute__((__noreturn__));
-#endif
static void
usage (void)
{