diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-06-09 20:27:46 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-06-09 20:27:46 -0700 |
commit | 95315108d25d0a17aef488e2bd4df8e98415d5d7 (patch) | |
tree | 970deaa57cad8a205d59e9aed3914eec8477aeda | |
parent | 6d83294bae9ba7394716f62abb08cfb8b89ed373 (diff) |
Replace local checks for gcc with _X_NORETURN from xproto 7.0.17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | dsimple.h | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index ceda069..9091163 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XWD, x11) +PKG_CHECK_MODULES(XWD, [x11 xproto >= 7.0.17]) AC_CONFIG_FILES([ Makefile @@ -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 *, ...); |