add macros for the pure and const attributes to compiler.h, in case they ever
[asterisk/asterisk.git] / include / asterisk / compiler.h
index 24f6907..b8df362 100644 (file)
@@ -30,4 +30,8 @@
 #define force_inline inline __attribute__((always_inline))
 #endif
 
+#define attribute_pure __attribute__((pure))
+
+#define attribute_const __attribute__((const))
+
 #endif /* _ASTERISK_COMPILER_H */