From: Mark Spencer Date: Mon, 8 Nov 2004 02:49:33 +0000 (+0000) Subject: Provide "ident" command line (at least the start of one) X-Git-Tag: 1.2.0-beta1~1877 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd7e72fecab1af916a1162f102f4722c91e2a47f;p=thirdparty%2Fasterisk.git 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 --- diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES index fc66c64e91..643e5444c8 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);