diff options
-rw-r--r-- | src/pulsecore/gccmacro.h | 4 |
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 |