[svn-commits] mmichelson: trunk r82377 - in /trunk: ./ doc/CODING-GUIDELINES

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Sep 14 09:44:15 CDT 2007


Author: mmichelson
Date: Fri Sep 14 09:44:15 2007
New Revision: 82377

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82377
Log:
Merged revisions 82376 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82376 | mmichelson | 2007-09-14 09:42:29 -0500 (Fri, 14 Sep 2007) | 5 lines

Fixing a typo in the coding guidelines

(closes issue #10717, reported and patched by leedm777)


........

Modified:
    trunk/   (props changed)
    trunk/doc/CODING-GUIDELINES

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/doc/CODING-GUIDELINES
URL: http://svn.digium.com/view/asterisk/trunk/doc/CODING-GUIDELINES?view=diff&rev=82377&r1=82376&r2=82377
==============================================================================
--- trunk/doc/CODING-GUIDELINES (original)
+++ trunk/doc/CODING-GUIDELINES Fri Sep 14 09:44:15 2007
@@ -241,7 +241,7 @@
 - Don't use un-necessary typedef's
 Don't use 'typedef' just to shorten the amount of typing; there is no substantial
 benefit in this:
-struct foo { int bar; }; typedef foo_t struct foo;
+struct foo { int bar; }; typedef struct foo foo_t;
 
 In fact, don't use 'variable type' suffixes at all; it's much preferable to
 just type 'struct foo' rather than 'foo_s'.




More information about the svn-commits mailing list