diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 1861e956..6d5c813c 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.