diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-06-02 16:35:10 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-06-06 00:04:01 +0300 |
commit | 447a5688005e5b789633bd080016517a08f9fd8d (patch) | |
tree | b663d5423683a94718f2e7b164b2d5af34e9cef1 /security/selinux/ss/conditional.h | |
parent | ec4a491d180b076191e72ef88c240caead1b20fc (diff) | |
download | linux-447a5688005e5b789633bd080016517a08f9fd8d.tar.xz |
selinux: avoid bool as identifier name
Avoid using the identifier `bool` to improve support with future C
standards. C23 is about to make `bool` a predefined macro (see N2654).
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/conditional.h')
-rw-r--r-- | security/selinux/ss/conditional.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.h b/security/selinux/ss/conditional.h index e47ec6ddeaf6..5a7b51278dc6 100644 --- a/security/selinux/ss/conditional.h +++ b/security/selinux/ss/conditional.h @@ -29,7 +29,7 @@ struct cond_expr_node { #define COND_NEQ 7 /* bool != bool */ #define COND_LAST COND_NEQ u32 expr_type; - u32 bool; + u32 boolean; }; struct cond_expr { |