diff options
author | akpm@linux-foundation.org <akpm@linux-foundation.org> | 2010-11-30 13:51:13 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-14 17:02:45 +0100 |
commit | de323f22a83b024b7432e813609c6efb74b1bbfc (patch) | |
tree | 69e8528d4b5446f1300885f54821e93dc349aa98 /include/linux/drbd.h | |
parent | a1087ef6abedf0bfd60e5e3fddf33192cb2c1325 (diff) | |
download | op-kernel-dev-de323f22a83b024b7432e813609c6efb74b1bbfc.zip op-kernel-dev-de323f22a83b024b7432e813609c6efb74b1bbfc.tar.gz |
headers_check: better search for functions in headers
Some headers don't bother with "extern" in function prototypes, which
results in said prototypes being unnoticed and exported to userland.
This patch slightly improves detection of such cases by checking for C
type names as well in the beginning of a line.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: WANG Cong <amwang@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'include/linux/drbd.h')
0 files changed, 0 insertions, 0 deletions