summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-08-25 19:03:47 +0000
committerrillig <rillig@NetBSD.org>2022-08-25 19:03:47 +0000
commitd8fd69710d3c313e9a96d43be4672a5238120115 (patch)
tree19fd0e78853ab45bc63d997b36150eaffea4e616 /sys/dev
parent5842e523564162fea5ebbe6a086f6b9bbf112c7d (diff)
lint: remove explicit list of known GCC attributes
Most GCC attributes consist of a single identifier. Up to now, it was necessary to list each of these identifiers in the grammar, even those that only apply to a single target architecture. Instead, parse the general form of attributes, matching the few attributes that lint handles by name instead. While here, rename the grammar rules to use the GCC terms. To avoid conflicts between the global function 'printf' and the GCC attribute of the same name, do not add GCC attributes to the symbol table, and don't make these symbols 'extern' either. ok christos@.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions