Subject: Re: a new KNF (and some comments)
To: Jason Thorpe <>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: tech-kern
Date: 01/21/2000 21:57:44
At 2:26 Uhr +0100 21.01.2000, Jason Thorpe wrote:
>On Fri, 21 Jan 2000 11:50:29 +1100
> Luke Mewburn <> wrote:
> > /*
> >  * ANSI function declarations for private functions (i.e. functions not
> >  * elsewhere) go at the top of the source module.  Only the kernel has a
> >  * name associated with the types.  I.e. in the kernel use:
> >  *	void function(int a);
> >  * in user-land use:
> >  *	void function(int);
>Please nuke the "kernel version" of that.  As I recently discovered, this
>can have somewhat annoying side-effects if you're scanning a tree with
>e.g. id-utils for an instance of a global variable, and function prototypes
>have an argument in them of the same name.

I have never really understood that one. I see header files as documenting
a module's Interface, and

	int foo(int, int, int, int, int *)

does not really cut it for me.


"It's never straight up and down"     (DEVO)