summaryrefslogtreecommitdiff
path: root/doc/CODING-GUIDELINES
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-08 02:49:33 +0000
committerMark Spencer <markster@digium.com>2004-11-08 02:49:33 +0000
commitdd7e72fecab1af916a1162f102f4722c91e2a47f (patch)
tree07e1e9ac3c01fe77793c9be59b9bb289ff90f74c /doc/CODING-GUIDELINES
parentb6524df6c878744101513bdbe8111ef7e25012f8 (diff)
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
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);