[pulseaudio-commits] r2232 - in /branches/glitch-free/src: pulse/gccmacro.h pulsecore/gccmacro.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Apr 11 09:19:36 PDT 2008


Author: lennart
Date: Fri Apr 11 18:19:35 2008
New Revision: 2232

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2232&root=pulseaudio&view=rev
Log:
move gccmacro from pulsecore/ to pulse/

Added:
    branches/glitch-free/src/pulse/gccmacro.h
      - copied, changed from r2215, branches/glitch-free/src/pulsecore/gccmacro.h
Removed:
    branches/glitch-free/src/pulsecore/gccmacro.h

Copied: branches/glitch-free/src/pulse/gccmacro.h (from r2215, branches/glitch-free/src/pulsecore/gccmacro.h)
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulse/gccmacro.h?p2=branches/glitch-free/src/pulse/gccmacro.h&p1=branches/glitch-free/src/pulsecore/gccmacro.h&r1=2215&r2=2232&rev=2232&root=pulseaudio&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/gccmacro.h (original)
+++ branches/glitch-free/src/pulse/gccmacro.h Fri Apr 11 18:19:35 2008
@@ -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
 




More information about the pulseaudio-commits mailing list