diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-14 14:44:15 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-14 14:44:15 +0000 |
commit | 6b50c0110b3f0dceab8277a4442b34e7788e035c (patch) | |
tree | 2ebc5c6876b07e7a6910c5f44afe4cbb99e33d95 | |
parent | 26933b2c131c6fa8b580173f34e7f954362355b8 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@82377 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | doc/CODING-GUIDELINES | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES index 990f5bc1f..b3f068f82 100644 --- a/doc/CODING-GUIDELINES +++ b/doc/CODING-GUIDELINES @@ -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'. |