headers_check.pl: disallow extern's
authorMike Frysinger <vapier@gentoo.org>
Sat, 27 Dec 2008 07:43:36 +0000 (02:43 -0500)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 2 Jan 2009 19:43:22 +0000 (20:43 +0100)
commit46b8af50ba5c072b74740c5fa8ba08e6eabb22f8
tree4e08644559df9c6602a65c631fdc7a70c668f8c2
parent7826005e5a53645d7aab7c13eda76126eadebf0b
headers_check.pl: disallow extern's

Since prototypes with "extern" refer to kernel functions, they make no
sense in userspace, so reject them automatically.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
[sam: made it into a warning]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/headers_check.pl