lkml.org 
[lkml]   [2008]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] headers_check.pl: disallow extern's
Date
On Saturday 27 December 2008 13:43:55 Sam Ravnborg wrote:
> On Sat, Dec 27, 2008 at 02:43:36AM -0500, Mike Frysinger wrote:
> > Since prototypes with "extern" refer to kernel functions, they make no
> > sense in userspace, so reject them automatically.
>
> I do agree with this

so the next question is about using "extern" in general. unless you have a
nice way of detecting function prototypes (i certainly dont have a magic regex
for this that is multiline, etc...), i think we should be using "extern" at
least in every header that goes to userspace so that we can catch things.
-mike
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-12-27 20:25    [W:0.319 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site