From 49f15b6bbfa6d1be2f4d24a77086e2cde6db2a91 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 24 May 2006 09:23:50 +0000 Subject: Reminder of no inline variable declarations git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1400 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 1861e95..6d5c813 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml @@ -643,9 +643,16 @@ setup the tests. Run "make test" to run all the tests.
Coding guidelines See GNU Coding standards for general guidelines. -
Comments +
C coding + + Variables should be declared at the beginning of code blocks and + not inline because of portability with older compilers. + You should use /* */ for comments and not // as some compilers do not handle the latter form. +
+ +
Crediting sources If you have copied a routine from another source, make sure the licence from your source allows this. Add a comment referencing the ACKNOWLEDGEMENTS file, where you can put more detail about the source. -- cgit v0.10-9-g596f