mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 18:15:25 +00:00
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:
parent
4a824cdbc4
commit
533cfb4675
@ -241,7 +241,7 @@
|
||||
<p>
|
||||
The keywords <code>if</code>, <code>for</code>, <code>while</code>,
|
||||
and <code>switch</code> must have a single space following them
|
||||
before the opening bracket. e.g.
|
||||
before the opening bracket. E.g.
|
||||
</p>
|
||||
<pre>
|
||||
if(foo) // Bad
|
||||
@ -250,7 +250,7 @@
|
||||
|
||||
<p>
|
||||
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>
|
||||
<pre>
|
||||
int foo (int wizz) // Bad
|
||||
@ -259,7 +259,7 @@
|
||||
|
||||
<p>
|
||||
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>
|
||||
<pre>
|
||||
bar = foo (wizz); // Bad
|
||||
@ -269,7 +269,7 @@
|
||||
<p>
|
||||
Function typedefs must <strong>not</strong> have any whitespace
|
||||
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>
|
||||
<pre>
|
||||
typedef int (*foo) (int wizz); // Bad
|
||||
@ -278,7 +278,7 @@
|
||||
|
||||
<p>
|
||||
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>
|
||||
<pre>
|
||||
int foo( int wizz ); // Bad
|
||||
|
Loading…
Reference in New Issue
Block a user