summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-04-11 16:19:35 +0000
committerLennart Poettering <lennart@poettering.net>2008-04-11 16:19:35 +0000
commitbb9792a616c5e2cae9526974054325854a75b0f2 (patch)
tree236f0c1d908dae521de8e23b2d3e880ff50d848b
parent5d7128abf992c1b7fb84f0f9e7eea10d7f70aa01 (diff)
move gccmacro from pulsecore/ to pulse/
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2232 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulse/gccmacro.h (renamed from src/pulsecore/gccmacro.h)9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pulsecore/gccmacro.h b/src/pulse/gccmacro.h
index f94a8c45..5a2a250f 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