Messages in this thread | | | From | Mike Frysinger <> | Subject | Re: [PATCH] headers_check.pl: disallow extern's | Date | Sat, 27 Dec 2008 14:23:17 -0500 |
| |
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] | |