summaryrefslogtreecommitdiff
path: root/include/misc.h
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-05-13 08:32:00 -0700
committerKeith Packard <keithp@keithp.com>2010-05-13 10:03:23 -0700
commitbca85e2e127a8a23e3a2debcfeb3ae07cd3c66ac (patch)
tree207c34916e15882083b18832a042ba65084910d6 /include/misc.h
parent421606a8ef447d10c2ee0986f20e752056a47675 (diff)
Use _X_ATTRIBUTE_PRINTF _X_DEPRECATED _X_NORETURN
Use the values from xproto rather than duplicating the effort Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/misc.h')
-rw-r--r--include/misc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/misc.h b/include/misc.h
index e4bdee480..62d813e0c 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -100,18 +100,6 @@ typedef unsigned long ATOM;
#define FALSE 0
#endif
-#ifdef __GNUC__
-#define X_DEPRECATED __attribute__((deprecated))
-#else
-#define X_DEPRECATED
-#endif
-
-#if defined(__GNUC__) && (__GNUC__ > 2)
-#define X_NORETURN __attribute__((noreturn))
-#else
-#define X_NORETURN
-#endif
-
#ifndef _XTYPEDEF_CALLBACKLISTPTR
typedef struct _CallbackList *CallbackListPtr; /* also in dix.h */
#define _XTYPEDEF_CALLBACKLISTPTR