Date: Mon, 23 Apr 2001 15:02:42 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: "David O'Brien" <obrien@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include stdio.h src/sys/sys vnode.h Message-ID: <XFMail.010423150242.jhb@FreeBSD.org> In-Reply-To: <20010423133629.A48534@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23-Apr-01 David O'Brien wrote: > On Mon, Apr 23, 2001 at 08:41:04AM -0700, John Baldwin wrote: >> > * get rid of space (0x20) before tab (^I) >> > * indent with ^I, not 0x20 >> > * continuation line for prototypes is for 0x20's past function's name >> > col. >> > * etc. >> >> >From style(9): >> >> static char *function(int _arg, const char *_arg2, struct foo >> *_arg3, >> struct bar *_arg4); >> static void usage(void); >> >> Thus it seems that the continuation line for prototypes is to line up the >> second line with the arguments. > > Hate to say this, but RTFM. :-) This isn't what the latest style.9 has. > In rev 1.47 I changed it to match what I saw in CSRG headers. The style > you show is from rev 1.18 (1997) and I could not corelate that with CSRG > code. I think that I responded to your earlier commits to the headers before I got to the manpage commit. As long as the manpage is ok, it's fine with me. This style is actually easier for me. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010423150242.jhb>