From: akpm@linux-foundation.org Date: Tue, 30 Nov 2010 21:51:13 +0000 (-0800) Subject: headers_check: better search for functions in headers X-Git-Tag: v2.6.38-rc1~437^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de323f22a83b024b7432e813609c6efb74b1bbfc;p=pandora-kernel.git 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 Cc: Stephen Hemminger Cc: Michal Marek Cc: WANG Cong Cc: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Michal Marek --- Reading git-diff-tree failed