diff --git a/src/pulsecore/gccmacro.h b/src/pulse/gccmacro.h similarity index 92% rename from src/pulsecore/gccmacro.h rename to src/pulse/gccmacro.h index f94a8c45a..5a2a250f1 100644 --- a/src/pulsecore/gccmacro.h +++ b/src/pulse/gccmacro.h @@ -77,13 +77,12 @@ #endif #endif -#ifndef PA_LIKELY +#ifndef PA_GCC_DEPRECATED #ifdef __GNUC__ -#define PA_LIKELY(x) (__builtin_expect(!!(x),1)) -#define PA_UNLIKELY(x) (__builtin_expect((x),0)) +#define PA_GCC_DEPRECATED __attribute__ ((deprecated)) #else -#define PA_LIKELY(x) (x) -#define PA_UNLIKELY(x) (x) +/** This function is deprecated **/ +#define PA_GCC_DEPRECATED #endif #endif