tree-wide: use __ prefixed gcc attributes (#10843)
As suggest here: https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax "You may optionally specify attribute names with ‘__’ preceding and following the name. This allows you to use them in header files without being concerned about a possible macro of the same name. For example, you may use the attribute name __noreturn__ instead of noreturn. "
This commit is contained in:
committed by
Yu Watanabe
parent
52048013b7
commit
012c2f761b
@@ -27,8 +27,8 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __CHECKER__
|
||||
#define __sd_bitwise __attribute__((bitwise))
|
||||
#define __sd_force __attribute__((force))
|
||||
#define __sd_bitwise __attribute__((__bitwise__))
|
||||
#define __sd_force __attribute__((__force__))
|
||||
#else
|
||||
#define __sd_bitwise
|
||||
#define __sd_force
|
||||
|
||||
Reference in New Issue
Block a user