From f4c575e663819adb425f9a7468cd7614a56b03be Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Mon, 9 Jun 2008 10:10:34 +0000 Subject: [PATCH] Minor fixes and add a note about variable declaration. --- CODING | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CODING b/CODING index 69bdbe38..4b6b5f5f 100644 --- a/CODING +++ b/CODING @@ -34,10 +34,10 @@ with "- ". Example: -I done some bugfixes. +I did some bugfixes. Library: -- I change the interface -- added some new functions +- the interface was modified +- new functions were added -------------------------------------------------------------------------------- @@ -92,7 +92,7 @@ for (i = 0; i <= 10; i++) Functions: -int bar(, , ) +gint bar(, , ) { ; ... @@ -128,6 +128,8 @@ As you can see above, parentheses are closed to inside, i.e. " (blah blah) " In "function()" there are no space before '('. You MAY use more tabs/spaces than you OUGHT TO (according to this CodingStyle), if it makes your code nicer in being verticaly indented. +Variables declarations should be followed by a blank line and should always be +at the start of the block. -------------------------------------------------------------------------------- -- 2.20.1