From owner-freebsd-arch Tue Oct 2 1:20:43 2001 Delivered-To: freebsd-arch@freebsd.org Received: from arb.arb.za.net (arb.arb.za.net [196.7.148.4]) by hub.freebsd.org (Postfix) with ESMTP id 72B3F37B408 for ; Tue, 2 Oct 2001 01:20:34 -0700 (PDT) Received: (from uucp@localhost) by arb.arb.za.net (8.11.3/8.11.3) with UUCP id f928KW852550 for arch@freebsd.org; Tue, 2 Oct 2001 10:20:32 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by grimreaper.grondar.za (8.11.6/8.11.6) with ESMTP id f91Gmgt25779 for ; Mon, 1 Oct 2001 17:48:42 +0100 (BST) (envelope-from mark@grondar.za) Message-Id: <200110011648.f91Gmgt25779@grimreaper.grondar.za> To: arch@freebsd.org Subject: [Patch] style.9 nit Date: Mon, 01 Oct 2001 17:48:42 +0100 From: Mark Murray Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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