From daa1352ed3d2bb4bc6aa0f0e7f22be3f0908942d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 11 May 2019 17:17:20 +0200 Subject: Run unifdef -DAPT_{8,9,10,15}_CLEANER_HEADERS --- apt-pkg/contrib/macros.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'apt-pkg/contrib/macros.h') 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 \ -- cgit v1.2.3