mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
add macros for the pure and const attributes to compiler.h, in case they ever
need to be handled differently for a specific compiler git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user