From d5b02467de52b2f38845aca41242e97f263ad38c Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 24 Oct 2007 13:08:00 +0000 Subject: Clarify the identifier naming rules git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15285 a1c6a512-1295-4272-9138-f99709370657 --- docs/CONTRIBUTING | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING index d36e359719..e426770790 100644 --- a/docs/CONTRIBUTING +++ b/docs/CONTRIBUTING @@ -28,10 +28,12 @@ Language features Write normal C code. Don't redefine the language. No new types (structs are structs, not typedefs), no C++isms or Javaisms. -Names +Identifiers ----- +We do not want mixed case identifiers. Variables and function names should be all lower case. -Preprocessor symbols should be all uppercase. +Struct and enum names should be all lower case. +Preprocessor symbols and enum constants should be all upper case. Comments -------- -- cgit v1.2.3