Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 11:47:18 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Peter Wemm <peter@wemm.org>, arch@FreeBSD.ORG, Warner Losh <imp@harmony.village.org>
Subject:   Re: Style Wars
Message-ID:  <3BB768B6.15C8CE36@elischer.org>
References:  <20010930175137.T70218-100000@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> 
> On Fri, 28 Sep 2001, John Baldwin wrote:
> 
> > I'm think 1b) is the one most people have favored so far and it is rather close
> > to our existing style, so it's not that big of a change.  Does anyone object to
> > 1b)?  It basically results in the following changes: use 2 tab spaces instead
> > of 1 for type names, put the entire type name before the tab(s), and if the
> > type is too long, just use a space.
> >
> > > 1b)
> > >
> > > struct foo {
> > >         int             f_type;
> > >         struct mtx      f_lock;
> > >         const char      *f_name;
> > >         volatile int    f_int;
> > >         u_int64_t       f_64;
> > >         const volatile char f_cv;
> > >         TAILQ_ENTRY(foo) f_link;
> > > };
> 
> Yes, this is essentially just the current style with encouragement for
> more verboseness.  It's interesting that indent(1) defaults to the
> too-large indent of 16 (-di16).  I wouldn't want to go back to that
> :-).  I prefer to use 1 space after the typename, but for FreeBSD I
> don't mind using 1 tab after short typenames.

parse error 42..

example required...

> 
> Bruce
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-arch" in the body of the message

-- 
+------------------------------------+       ______ _  __
|   __--_|\  Julian Elischer         |       \     U \/ / hard at work in 
|  /       \ julian@elischer.org     +------>x   USA    \ a very strange
| (   OZ    )                                \___   ___ | country !
+- X_.---._/    presently in San Francisco       \_/   \\
          v

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?3BB768B6.15C8CE36>