mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Update coding guidelines, fix "say.c" compile on older compilers, update coding guidelines (includes bug #1631)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6,6 +6,11 @@ see http://bugs.digium.com
|
||||
|
||||
Patches should be in the form of a unified (-u) diff.
|
||||
|
||||
All code, filenames, function names and comments must be in ENGLISH.
|
||||
|
||||
Do not declare variables mid-function (e.g. like GNU lets you) since it is
|
||||
harder to read and not portable to GCC 2.95 and others.
|
||||
|
||||
Don't annotate your changes with comments like "/* JMG 4/20/04 */";
|
||||
Comments should explain what the code does, not when something was changed
|
||||
or who changed it.
|
||||
|
Reference in New Issue
Block a user