Skip to content

Commit e29a6d6

Browse files
JoePerchesmasahir0y
authored andcommitted
genksyms: keywords: Use __restrict not _restrict
Use the proper form of the RESTRICT keyword. Quote the comments properly too. Signed-off-by: Joe Perches <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent efbf972 commit e29a6d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/genksyms/keywords.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ static struct resword {
2525
{ "__int128_t", BUILTIN_INT_KEYW },
2626
{ "__uint128_t", BUILTIN_INT_KEYW },
2727

28-
// According to rth, c99 defines "_Bool", __restrict", __restrict__", "restrict". KAO
28+
// According to rth, c99 defines "_Bool", "__restrict", "__restrict__", "restrict". KAO
2929
{ "_Bool", BOOL_KEYW },
30-
{ "_restrict", RESTRICT_KEYW },
30+
{ "__restrict", RESTRICT_KEYW },
3131
{ "__restrict__", RESTRICT_KEYW },
3232
{ "restrict", RESTRICT_KEYW },
3333
{ "asm", ASM_KEYW },

0 commit comments

Comments
 (0)