Date: Tue, 2 Oct 2001 12:45:23 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Mark Murray <mark@grondar.za> Cc: arch@freebsd.org Subject: Re: [Patch] style.9 nit Message-ID: <Pine.BSF.4.21.0110021245110.92100-100000@InterJet.elischer.org> In-Reply-To: <200110011648.f91Gmgt25779@grimreaper.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
names are suggested for kernel code... On Mon, 1 Oct 2001, Mark Murray wrote: > Hi > > Any objections to this patch? > > It removes argument names from an example function prototype > to match a previously mentioned guideline about such names. > > eg: > > int foo(int bar); > > becomes > > int foo(int); > > This helps quite a bit in reducing namespace pollution. > > M > > Index: style.9 > =================================================================== > RCS file: /home/ncvs/src/share/man/man9/style.9,v > retrieving revision 1.66 > diff -u -d -r1.66 style.9 > --- style.9 1 Oct 2001 16:13:59 -0000 1.66 > +++ style.9 1 Oct 2001 16:39:38 -0000 > @@ -252,8 +252,7 @@ > Prototypes may have an extra space after a tab to enable function names > to line up: > .Bd -literal > -static char *function(int _arg, const char *_arg2, struct foo *_arg3, > - struct bar *_arg4); > +static char *function(int, const char *, struct foo *, struct bar *); > static void usage(void); > > /* > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110021245110.92100-100000>