summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 013f11507..c691abd26 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -80,6 +80,8 @@
#define A_WARN_UNUSED __attribute__ ((warn_unused_result))
#define DEPRECATED __attribute__ ((deprecated))
#define restrict __restrict__
+#define A_CONST __attribute__ ((const))
+#define A_PURE __attribute__ ((pure))
#ifdef __INTEL_COMPILER
#define RETURNS_NONNULL