summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-04-18 22:36:46 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-04-18 22:36:46 +0000
commiteb3bee2b2c574a6b81321cddcf0f1c455565ac62 (patch)
treee7fa23e2647d615792e51e5466b809c9d1fff408
parentf237b69053036651f4d8d43b6a72fecea1173c38 (diff)
downloadrockbox-eb3bee2b2c574a6b81321cddcf0f1c455565ac62.tar.gz
rockbox-eb3bee2b2c574a6b81321cddcf0f1c455565ac62.zip
Added comments about linefeeds and const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@140 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/CONTRIBUTING5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/CONTRIBUTING b/firmware/CONTRIBUTING
index b38409ade5..73f124eb7b 100644
--- a/firmware/CONTRIBUTING
+++ b/firmware/CONTRIBUTING
@@ -6,8 +6,8 @@ contributors adhere to a few simple conventions:
6- Write all code in C. Sometimes assembly is faster, but C is always more 6- Write all code in C. Sometimes assembly is faster, but C is always more
7 readable and maintainable. 7 readable and maintainable.
8 8
9- Write C code. Don't redefine the language. No new types, no C++isms or 9- Write normal C code. Don't redefine the language. No new types,
10 Javaisms. 10 no C++isms or Javaisms. Also, do not use "const".
11 11
12- Variables and function names should be all lower case. 12- Variables and function names should be all lower case.
13 Preprocessor symbols should be all uppercase. 13 Preprocessor symbols should be all uppercase.
@@ -16,3 +16,4 @@ contributors adhere to a few simple conventions:
16 four spaces. Don't use TAB characters, as that will mess up code display in 16 four spaces. Don't use TAB characters, as that will mess up code display in
17 CVS, printing, and a zillion other places. 17 CVS, printing, and a zillion other places.
18 18
19- Use "unix style" line feeds: "LF" only. Do not use "CR+LF".