The Rules choosed by DnC team are based on Allman ones, but with small changes.
See http://en.wikipedia.org/wiki/Indent_style
EDIT: In fact we try to keep the original tremulous indentation style
Do not use tabulation, use (2?) 4 spaces by indentation level. space before and after arguments of function.
int HelloWorld( int x, char *text )
{
printf( "Hello %s", text );
if( x == y )
SomeFunc();
return x;
}
Amanieu said:
1) use static for non-exported functions
2) dont use prefixes for non-exported function.
3) useThisCase for variables
4) UseThisCase? for functions
5) USETHISCASE for #defines
