Commit e29a6d63 authored by Joe Perches's avatar Joe Perches Committed by Masahiro Yamada

genksyms: keywords: Use __restrict not _restrict

Use the proper form of the RESTRICT keyword.

Quote the comments properly too.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent efbf9726
...@@ -25,9 +25,9 @@ static struct resword { ...@@ -25,9 +25,9 @@ static struct resword {
{ "__int128_t", BUILTIN_INT_KEYW }, { "__int128_t", BUILTIN_INT_KEYW },
{ "__uint128_t", BUILTIN_INT_KEYW }, { "__uint128_t", BUILTIN_INT_KEYW },
// According to rth, c99 defines "_Bool", __restrict", __restrict__", "restrict". KAO // According to rth, c99 defines "_Bool", "__restrict", "__restrict__", "restrict". KAO
{ "_Bool", BOOL_KEYW }, { "_Bool", BOOL_KEYW },
{ "_restrict", RESTRICT_KEYW }, { "__restrict", RESTRICT_KEYW },
{ "__restrict__", RESTRICT_KEYW }, { "__restrict__", RESTRICT_KEYW },
{ "restrict", RESTRICT_KEYW }, { "restrict", RESTRICT_KEYW },
{ "asm", ASM_KEYW }, { "asm", ASM_KEYW },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment