Re: [PATCH] headers_check: better search for functions in headers

From: Michal Marek
Date: Tue Dec 14 2010 - 11:07:40 EST


On 30.11.2010 17:21, Alexander Shishkin wrote:
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.

Applied to kbuild-2.6.git#misc, thanks.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/