summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2007-09-30 13:19:26 +0000
committerTanu Kaskinen <tanuk@iki.fi>2007-09-30 13:19:26 +0000
commitdbcd086332a654db9913638719073a899b07db81 (patch)
treec3bcff1d97b100768545e169c46b45b0bc560555
parentbdf97468f34407674d191f216febb1987adb16f6 (diff)
Fixed PA_GCC_CONST definition.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1919 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulsecore/gccmacro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/gccmacro.h b/src/pulsecore/gccmacro.h
index d211c2e7..e9f0d093 100644
--- a/src/pulsecore/gccmacro.h
+++ b/src/pulsecore/gccmacro.h
@@ -70,9 +70,9 @@
#ifndef PA_GCC_CONST
#ifdef __GNUCC__
-#define PA_GCC_CONST __attribute__ ((pure))
+#define PA_GCC_CONST __attribute__ ((const))
#else
-/** This function's return value depends only the arguments list (stricter version of PA_GCC_CONST) **/
+/** This function's return value depends only the arguments list (stricter version of PA_GCC_PURE) **/
#define PA_GCC_CONST
#endif
#endif