aboutsummaryrefslogtreecommitdiffstats
path: root/include/ircd_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ircd_defs.h')
-rw-r--r--include/ircd_defs.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/ircd_defs.h b/include/ircd_defs.h
index 98b5cea4..9ca5b62c 100644
--- a/include/ircd_defs.h
+++ b/include/ircd_defs.h
@@ -37,25 +37,6 @@
#include "defaults.h"
-/* For those unfamiliar with GNU format attributes, a is the 1 based
- * argument number of the format string, and b is the 1 based argument
- * number of the variadic ... */
-#ifdef __GNUC__
-#define AFP(a,b) __attribute__((format (printf, a, b)))
-#else
-#define AFP(a,b)
-#endif
-
-/*
- * This ensures that __attribute__((deprecated)) is not used in for example
- * sun CC, since it's a GNU-specific extension. -nenolod
- */
-#ifdef __GNUC__
-#define IRC_DEPRECATED __attribute__((deprecated))
-#else
-#define IRC_DEPRECATED
-#endif
-
#ifndef MAX
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#endif