From: Martin Kletzander Date: Wed, 30 Jan 2013 10:01:31 +0000 (+0100) Subject: Sync HACKING and hacking.html.in X-Git-Tag: v1.0.3-rc1~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533cfb46755dc75908d04e83361c0a21a684b850;p=thirdparty%2Flibvirt.git 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. --- diff --git a/docs/hacking.html.in b/docs/hacking.html.in index 78620fce67..fe4324af84 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -241,7 +241,7 @@

The keywords if, for, while, and switch must have a single space following them - before the opening bracket. e.g. + before the opening bracket. E.g.

       if(foo)   // Bad
@@ -250,7 +250,7 @@
 
     

Function implementations must not have any whitespace - between the function name and the opening bracket. e.g. + between the function name and the opening bracket. E.g.

       int foo (int wizz)  // Bad
@@ -259,7 +259,7 @@
 
     

Function calls must not have any whitespace - between the function name and the opening bracket. e.g. + between the function name and the opening bracket. E.g.

       bar = foo (wizz);  // Bad
@@ -269,7 +269,7 @@
     

Function typedefs must not 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.

       typedef int (*foo) (int wizz);  // Bad
@@ -278,7 +278,7 @@
 
     

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.

       int foo( int wizz );  // Bad