diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-08-14 18:07:27 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-09-25 01:05:32 +0000 |
commit | 37dcaf86039ef3b4f06a87fb0e4b210c83c73c53 (patch) | |
tree | ac814dfd046b1cfd96414af9ef09785cc5d3892c /src/soc/amd/glinda/Kconfig | |
parent | ad0d88bb804f424304a3f174bb898f482dd94cf5 (diff) |
include/stdbool: Don't unconditionally typedef bool
When compiling with the C23 standard, bool, true, and false are
pre-defined by the language, so defining them in stdbool.h isn't allowed.
This fixes the following error:
src/include/stdbool.h:6:17: error: two or more data types in declaration specifiers
6 | typedef _Bool bool;
| ^~~~
src/include/stdbool.h:6:1: error: useless type name in empty declaration [-Werror]
6 | typedef _Bool bool;
| ^~~~~~~
Change-Id: Iec9b4e3f308008ece773ce3460daff97370161ea
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83909
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/amd/glinda/Kconfig')
0 files changed, 0 insertions, 0 deletions