From: Joe Perches Date: Sat, 15 Aug 2020 01:38:15 +0000 (-0700) Subject: genksyms: keywords: Use __restrict not _restrict X-Git-Tag: v5.10.7~1782^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e29a6d633e2782ec0278b8c199135ad24a99240d;p=platform%2Fkernel%2Flinux-rpi.git genksyms: keywords: Use __restrict not _restrict Use the proper form of the RESTRICT keyword. Quote the comments properly too. Signed-off-by: Joe Perches Acked-by: Nick Desaulniers Signed-off-by: Masahiro Yamada --- diff --git a/scripts/genksyms/keywords.c b/scripts/genksyms/keywords.c index 7a85c4e..057c6ca 100644 --- a/scripts/genksyms/keywords.c +++ b/scripts/genksyms/keywords.c @@ -25,9 +25,9 @@ static struct resword { { "__int128_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 }, - { "_restrict", RESTRICT_KEYW }, + { "__restrict", RESTRICT_KEYW }, { "__restrict__", RESTRICT_KEYW }, { "restrict", RESTRICT_KEYW }, { "asm", ASM_KEYW },