summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/macros.h')
-rw-r--r--apt-pkg/contrib/macros.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/apt-pkg/contrib/macros.h b/apt-pkg/contrib/macros.h
index 3648390ce..df85b7856 100644
--- a/apt-pkg/contrib/macros.h
+++ b/apt-pkg/contrib/macros.h
@@ -116,26 +116,6 @@
#define APT_HOT
#endif
-#ifndef APT_10_CLEANER_HEADERS
-#if APT_GCC_VERSION >= 0x0300
- #define __must_check __attribute__ ((warn_unused_result))
- #define __deprecated __attribute__ ((deprecated))
- #define __attrib_const __attribute__ ((__const__))
- #define __like_printf(n) __attribute__((format(printf, n, n + 1)))
-#else
- #define __must_check /* no warn_unused_result */
- #define __deprecated /* no deprecated */
- #define __attrib_const /* no const attribute */
- #define __like_printf(n) /* no like-printf */
-#endif
-#if APT_GCC_VERSION >= 0x0403
- #define __cold __attribute__ ((__cold__))
- #define __hot __attribute__ ((__hot__))
-#else
- #define __cold /* no cold marker */
- #define __hot /* no hot marker */
-#endif
-#endif
#if __GNUC__ >= 4
#define APT_IGNORE_DEPRECATED_PUSH \