Sync HACKING and hacking.html.in

After one last-minute change, only HACKING was updated and not
hacking.html.in, so this patch synchronizes that.
This commit is contained in:
Martin Kletzander 2013-01-30 11:01:31 +01:00
parent 4a824cdbc4
commit 533cfb4675

View File

@ -241,7 +241,7 @@
<p> <p>
The keywords <code>if</code>, <code>for</code>, <code>while</code>, The keywords <code>if</code>, <code>for</code>, <code>while</code>,
and <code>switch</code> must have a single space following them and <code>switch</code> must have a single space following them
before the opening bracket. e.g. before the opening bracket. E.g.
</p> </p>
<pre> <pre>
if(foo) // Bad if(foo) // Bad
@ -250,7 +250,7 @@
<p> <p>
Function implementations must <strong>not</strong> have any whitespace Function implementations must <strong>not</strong> have any whitespace
between the function name and the opening bracket. e.g. between the function name and the opening bracket. E.g.
</p> </p>
<pre> <pre>
int foo (int wizz) // Bad int foo (int wizz) // Bad
@ -259,7 +259,7 @@
<p> <p>
Function calls must <strong>not</strong> have any whitespace Function calls must <strong>not</strong> have any whitespace
between the function name and the opening bracket. e.g. between the function name and the opening bracket. E.g.
</p> </p>
<pre> <pre>
bar = foo (wizz); // Bad bar = foo (wizz); // Bad
@ -269,7 +269,7 @@
<p> <p>
Function typedefs must <strong>not</strong> have any whitespace Function typedefs must <strong>not</strong> have any whitespace
between the closing bracket of the function name and opening between the closing bracket of the function name and opening
bracket of the arg list. e.g. bracket of the arg list. E.g.
</p> </p>
<pre> <pre>
typedef int (*foo) (int wizz); // Bad typedef int (*foo) (int wizz); // Bad
@ -278,7 +278,7 @@
<p> <p>
There must not be any whitespace immediately following any There must not be any whitespace immediately following any
opening bracket, or immediately prior to any closing bracket. e.g. opening bracket, or immediately prior to any closing bracket. E.g.
</p> </p>
<pre> <pre>
int foo( int wizz ); // Bad int foo( int wizz ); // Bad