mention the brace placement for functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14627 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
db4753e924
commit
8e75734083
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ When changing code, follow the code style of the file you are editing.
|
|||
|
||||
When writing new files, you may use the brace placement style of your choice.
|
||||
|
||||
Braces for function declarations are put in a new line under the name, as in:
|
||||
|
||||
int foo(char *name)
|
||||
{
|
||||
return FOO_NAME:
|
||||
}
|
||||
|
||||
Always indent your code with four spaces. Don't use TAB characters, as that
|
||||
will mess up code display in CVS, printing, and a zillion other places.
|
||||
|
||||
|
|
Loading…
Reference in a new issue