From dd7e72fecab1af916a1162f102f4722c91e2a47f Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Mon, 8 Nov 2004 02:49:33 +0000 Subject: 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 --- doc/CODING-GUIDELINES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/CODING-GUIDELINES') 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); -- cgit v1.2.3