Hi, On 22 March 2012 00:26, Chase Douglas <chase.doug...@canonical.com> wrote: > On 03/21/2012 05:21 PM, Peter Hutterer wrote: >> http://www.x.org/wiki/CodingStyle > > The brace handling is different between here and what Daniel described. > Here's from the wiki page: > > Opening curly brace on the same line as the control construct: > if (foo) { > > Here's from Daniel's explanation: > > braces on the following line for function declarations only, > everything else on the same line > > Which is correct?
The email is correct, as you can see from xserver master: function declarations have their opening brace on a new line, while every other opening brace is on the same line. Cheers, Daniel _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel