Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | %{ |
| 2 | %} |
| 3 | struct resword { const char *name; int token; } |
| 4 | %% |
| 5 | EXPORT_SYMBOL, EXPORT_SYMBOL_KEYW |
| 6 | EXPORT_SYMBOL_GPL, EXPORT_SYMBOL_KEYW |
Greg Kroah-Hartman | 9f28bb7 | 2006-03-20 13:17:13 -0800 | [diff] [blame] | 7 | EXPORT_SYMBOL_GPL_FUTURE, EXPORT_SYMBOL_KEYW |
Jan Beulich | 9bb4824 | 2008-12-16 11:30:08 +0000 | [diff] [blame] | 8 | EXPORT_UNUSED_SYMBOL, EXPORT_SYMBOL_KEYW |
| 9 | EXPORT_UNUSED_SYMBOL_GPL, EXPORT_SYMBOL_KEYW |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | __asm, ASM_KEYW |
| 11 | __asm__, ASM_KEYW |
| 12 | __attribute, ATTRIBUTE_KEYW |
| 13 | __attribute__, ATTRIBUTE_KEYW |
| 14 | __const, CONST_KEYW |
| 15 | __const__, CONST_KEYW |
Sam Ravnborg | 3550a51 | 2007-08-28 20:28:55 +0200 | [diff] [blame] | 16 | __extension__, EXTENSION_KEYW |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | __inline, INLINE_KEYW |
| 18 | __inline__, INLINE_KEYW |
| 19 | __signed, SIGNED_KEYW |
| 20 | __signed__, SIGNED_KEYW |
| 21 | __volatile, VOLATILE_KEYW |
| 22 | __volatile__, VOLATILE_KEYW |
| 23 | # According to rth, c99 defines _Bool, __restrict, __restrict__, restrict. KAO |
| 24 | _Bool, BOOL_KEYW |
| 25 | _restrict, RESTRICT_KEYW |
| 26 | __restrict__, RESTRICT_KEYW |
| 27 | restrict, RESTRICT_KEYW |
| 28 | asm, ASM_KEYW |
| 29 | # attribute commented out in modutils 2.4.2. People are using 'attribute' as a |
| 30 | # field name which breaks the genksyms parser. It is not a gcc keyword anyway. |
| 31 | # KAO. |
| 32 | # attribute, ATTRIBUTE_KEYW |
| 33 | auto, AUTO_KEYW |
| 34 | char, CHAR_KEYW |
| 35 | const, CONST_KEYW |
| 36 | double, DOUBLE_KEYW |
| 37 | enum, ENUM_KEYW |
| 38 | extern, EXTERN_KEYW |
| 39 | float, FLOAT_KEYW |
| 40 | inline, INLINE_KEYW |
| 41 | int, INT_KEYW |
| 42 | long, LONG_KEYW |
| 43 | register, REGISTER_KEYW |
| 44 | short, SHORT_KEYW |
| 45 | signed, SIGNED_KEYW |
| 46 | static, STATIC_KEYW |
| 47 | struct, STRUCT_KEYW |
| 48 | typedef, TYPEDEF_KEYW |
| 49 | union, UNION_KEYW |
| 50 | unsigned, UNSIGNED_KEYW |
| 51 | void, VOID_KEYW |
| 52 | volatile, VOLATILE_KEYW |
| 53 | typeof, TYPEOF_KEYW |
| 54 | __typeof__, TYPEOF_KEYW |