mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
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) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -241,7 +241,7 @@ options that they are in fact intended to be global.
|
||||
- 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'.
|
||||
|
Reference in New Issue
Block a user