Provide "ident" command line (at least the start of one)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
b6524df6c8
commit
dd7e72feca
|
@ -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
|
Functions and variables that are not intended to be global must be
|
||||||
declared static.
|
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
|
Function calls and arguments should be spaced in a consistent way across
|
||||||
the codebase.
|
the codebase.
|
||||||
GOOD: foo(arg1, arg2);
|
GOOD: foo(arg1, arg2);
|
||||||
|
|
Loading…
Reference in New Issue