genksyms: Ignore module scoped _Static_assert()
[linux-2.6-block.git] / scripts / genksyms / keywords.c
index 057c6cabad1d9b8ac78b93b1b0514545a2f26a70..b85e0979a00cecc5b3c2db0136428cc8deb904b1 100644 (file)
@@ -32,6 +32,9 @@ static struct resword {
        { "restrict", RESTRICT_KEYW },
        { "asm", ASM_KEYW },
 
+       // c11 keywords that can be used at module scope
+       { "_Static_assert", STATIC_ASSERT_KEYW },
+
        // attribute commented out in modutils 2.4.2.  People are using 'attribute' as a
        // field name which breaks the genksyms parser.  It is not a gcc keyword anyway.
        // KAO. },