diff options
Diffstat (limited to 'doc/CODING-GUIDELINES')
-rwxr-xr-x | doc/CODING-GUIDELINES | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES index fc66c64e9..643e5444c 100755 --- a/doc/CODING-GUIDELINES +++ b/doc/CODING-GUIDELINES @@ -24,6 +24,11 @@ Try to match the existing formatting of the file you are working on. Functions and variables that are not intended to be global must be declared static. +Roughly, Asterisk coding guidelines are generally equivalent to the +following: + +# indent -i4 -ts4 -br -brs -cdw -cli0 -ce -nbfda -npcs -npsl foo.c + Function calls and arguments should be spaced in a consistent way across the codebase. GOOD: foo(arg1, arg2); |