diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-24 14:33:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:07:06 -0700 |
commit | d4977c78e9c7dd042f96f4a21d957bc25a561333 (patch) | |
tree | 19a50489a8d974b4841edde9e92aae7ec147756a /lib | |
parent | 3354957a4f8b9bb4b43625232acdf0626851c82f (diff) |
checkpatch: warn on declaration with storage class not at the beginning
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions