Please sign in to comment.
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 <firstname.lastname@example.org> Cc: Stephen Hemminger <email@example.com> Cc: Michal Marek <firstname.lastname@example.org> Cc: WANG Cong <email@example.com> Cc: Randy Dunlap <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Michal Marek <firstname.lastname@example.org>
- Loading branch information...