Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 09:48:58 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        arch@FreeBSD.ORG, Peter Wemm <peter@wemm.org>, Jonathan Lemon <jlemon@flugsvamp.com>, Julian Elischer <julian@elischer.org>
Subject:   Re: Style Wars
Message-ID:  <XFMail.011023094858.jhb@FreeBSD.org>
In-Reply-To: <200110230657.f9N6ve716142@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Oct-01 Warner Losh wrote:
> In message <3BD5100A.2D09B278@elischer.org> Julian Elischer writes:
>:      When declaring variables in structures, declare them sorted by use,
>:      then
>:      by size, and then by alphabetical order.  The first category normally
>:      doesn't apply, but there are exceptions.  Try to make the structure
>:      readable by aligning the variable names using either one or two tabs
>:      depending upon your judgement. Names following extremely long types
>:      should be separated by a simple space. i.e. use int^I^Ix; and
>:      struct foo^I*x; and struct verylongtypename *bar;
>: 
>: 
>: This approximates 1b).
>: 
>: If I don't hear a large outcry (it was a loud 'yes' last time but I didn't
>: see an agreement that it should be done) then I'd like to make that change.
> 
> That was the approximate consensus that we had.  I think as such, it
> should be committed w/o revisting the discussion :-)

Agreed.

-- 

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 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?XFMail.011023094858.jhb>