Date: Mon, 01 Oct 2001 17:48:42 +0100 From: Mark Murray <mark@grondar.za> To: arch@freebsd.org Subject: [Patch] style.9 nit Message-ID: <200110011648.f91Gmgt25779@grimreaper.grondar.za>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110011648.f91Gmgt25779>