diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-12 15:03:19 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-12 15:03:19 +0200 |
commit | c11ab3e93624e7ac8050a287aba5b115aff0fea6 (patch) | |
tree | f87173bc7986992043a8e07ae05cae9bed8083fd /apt-pkg/contrib/macros.h | |
parent | f9709234fc133bda96418d7f363e63d6f5fb1b09 (diff) | |
parent | 82b881caafa0c82b20db3900f8b76cebd8a393a4 (diff) |
Merge branch 'pu/cleaner-headers'
Diffstat (limited to 'apt-pkg/contrib/macros.h')
-rw-r--r-- | apt-pkg/contrib/macros.h | 20 |
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 \ |