diff options
author | Arnd Bergmann <[email protected]> | 2024-04-08 09:17:52 +0200 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2024-04-23 00:09:41 +0900 |
commit | 10f94d8fcc0880c93d7697184fe199022792a61c (patch) | |
tree | f09032c1a885f70460278ea9616dcd5b3df17292 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 72a9913a8554f5c05b20005980d3dfbf905af9f8 (diff) |
scripts/unifdef: avoid constexpr keyword
Starting with c23, 'constexpr' is a keyword in C like in C++ and cannot
be used as an identifier:
scripts/unifdef.c:206:25: error: 'constexpr' can only be used in variable declarations
206 | static bool constexpr; /* constant #if expression */
| ^
scripts/unifdef.c:880:13: error: expected identifier or '('
880 | constexpr = false;
| ^
Rename this instance to allow changing to C23 at some point in the future.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-By: Tony Finch <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions