summaryrefslogtreecommitdiff
path: root/include/asterisk/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/compiler.h')
-rw-r--r--include/asterisk/compiler.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h
index 15a750f9c..b2db7ffdb 100644
--- a/include/asterisk/compiler.h
+++ b/include/asterisk/compiler.h
@@ -68,16 +68,4 @@
/* Some older version of GNU gcc (3.3.5 on OpenBSD 4.3 for example) dont like 'NULL' as sentinel */
#define SENTINEL ((char *)NULL)
-#ifdef HAVE_ATTRIBUTE_weak
-#define attribute_weak __attribute__((weak))
-#else
-#define attribute_weak
-#endif
-
-#ifdef HAVE_ATTRIBUTE_weak_import
-#define attribute_weak_import __attribute__((weak_import))
-#else
-#define attribute_weak_import
-#endif
-
#endif /* _ASTERISK_COMPILER_H */