PERFORCE change 178978 for review

M. Warner Losh imp at bsdimp.com
Mon May 31 06:01:25 UTC 2010


In message: <201005302101.02794.hselasky at c2i.net>
            Hans Petter Selasky <hselasky at c2i.net> writes:
: On Sunday 30 May 2010 20:59:33 Garrett Cooper wrote:
: > >     if (version != 1)
: > > -       return (ENOPROTOOPT);
: > > +       return ENOPROTOOPT;
: > 
: > That's actually a style regression (along with any other return calls
: > without parentheses).
: > 
: 
: FYI:
: 
: Linux style mandatates return values without parentheses. And FreeBSD style 
: mandates that opposite!

NetBSD style mandates their absence too...

Warner


More information about the p4-projects mailing list