forked from len0rd/rockbox
Added comments about linefeeds and const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@140 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f237b69053
commit
eb3bee2b2c
1 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,8 @@ contributors adhere to a few simple conventions:
|
||||||
- Write all code in C. Sometimes assembly is faster, but C is always more
|
- Write all code in C. Sometimes assembly is faster, but C is always more
|
||||||
readable and maintainable.
|
readable and maintainable.
|
||||||
|
|
||||||
- Write C code. Don't redefine the language. No new types, no C++isms or
|
- Write normal C code. Don't redefine the language. No new types,
|
||||||
Javaisms.
|
no C++isms or Javaisms. Also, do not use "const".
|
||||||
|
|
||||||
- Variables and function names should be all lower case.
|
- Variables and function names should be all lower case.
|
||||||
Preprocessor symbols should be all uppercase.
|
Preprocessor symbols should be all uppercase.
|
||||||
|
@ -16,3 +16,4 @@ contributors adhere to a few simple conventions:
|
||||||
four spaces. Don't use TAB characters, as that will mess up code display in
|
four spaces. Don't use TAB characters, as that will mess up code display in
|
||||||
CVS, printing, and a zillion other places.
|
CVS, printing, and a zillion other places.
|
||||||
|
|
||||||
|
- Use "unix style" line feeds: "LF" only. Do not use "CR+LF".
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue