diff mbox

[wwwdocs] PATCH for Re: GCC Coding Conventions typo

Message ID alpine.LSU.2.20.1608161124360.2571@anthias.pfeifer.com
State New
Headers show

Commit Message

Gerald Pfeifer Aug. 16, 2016, 9:28 a.m. UTC
On Fri, 22 Apr 2016, Chris Gregory wrote:
> https://gcc.gnu.org/codingconventions.html#ExternC
> 
> In the `Extern "C"` commentary, the coding conventions says:
> 
>     Definitions within the body of a namespace are not indented.
> 
> This should read
> 
>     Definitions within the body of an `extern "C"` block are not indented.

Thank you for the report, Chris!

I just fixed this (finally) by applying the patch below, attributed
to you.

Gerald
diff mbox

Patch

Index: codingconventions.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/codingconventions.html,v
retrieving revision 1.74
diff -u -r1.74 codingconventions.html
--- codingconventions.html	27 May 2016 19:25:16 -0000	1.74
+++ codingconventions.html	16 Aug 2016 09:23:03 -0000
@@ -1304,7 +1304,7 @@ 
 </code></pre></blockquote>
 
 <p>
-Definitions within the body of a namespace are not indented.
+Definitions within the body of an <code>extern "C"</code> block are not indented.
 </p>
 
 <h4><a name="Namespace_Form">Namespaces</a></h4>