From dbcd086332a654db9913638719073a899b07db81 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Sun, 30 Sep 2007 13:19:26 +0000 Subject: Fixed PA_GCC_CONST definition. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1919 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/gccmacro.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit