aboutsummaryrefslogtreecommitdiffstats
path: root/doc/CODING-GUIDELINES
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-08 02:49:33 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-08 02:49:33 +0000
commit9bf25014a8df3acf60a34a2ce6dfff53e4c19733 (patch)
tree07e1e9ac3c01fe77793c9be59b9bb289ff90f74c /doc/CODING-GUIDELINES
parent8b7413e60b39b1313bc98339403fd54134cfdeb5 (diff)
Provide "ident" command line (at least the start of one)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4185 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/CODING-GUIDELINES')
-rwxr-xr-xdoc/CODING-GUIDELINES5
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);