X server source code re-indented

Daniel Stone daniel at fooishbar.org
Thu Mar 22 03:34:20 PDT 2012


Hi,

On 22 March 2012 00:26, Chase Douglas <chase.douglas at 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


More information about the xorg-devel mailing list