diff options
author | Jan Wagner <waja@cyconet.org> | 2023-10-17 13:39:37 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2023-10-17 13:39:37 +0200 |
commit | 2a047014385022c8dc06dad4da0428db14898689 (patch) | |
tree | 00abea46325decf0c72870ee8f9ec1472e8e5344 /doc/developer-guidelines.sgml | |
parent | f39211c26408af582121f519d89c8abf70e6d437 (diff) | |
parent | e23a75d954311b3be429a9020e4d317b89615ee7 (diff) | |
download | monitoring-plugins-2a04701.tar.gz |
Merge branch 'master' of github.com:monitoring-plugins/monitoring-plugins
Diffstat (limited to 'doc/developer-guidelines.sgml')
-rw-r--r-- | doc/developer-guidelines.sgml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 1982974f..37c963ed 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
@@ -733,12 +733,9 @@ setup the tests. Run "make test" to run all the tests. | |||
733 | <para>Variables should be declared at the beginning of code blocks and | 733 | <para>Variables should be declared at the beginning of code blocks and |
734 | not inline because of portability with older compilers.</para> | 734 | not inline because of portability with older compilers.</para> |
735 | 735 | ||
736 | <para>You should use /* */ for comments and not // as some compilers | 736 | <para>You should use the type "bool" and its values |
737 | do not handle the latter form.</para> | 737 | "true" and "false" instead of the "int" type for booleans. |
738 | 738 | </para> | |
739 | <para>You should also avoid using the type "bool" and its values | ||
740 | "true" and "false". Instead use the "int" type and the plugins' own | ||
741 | "TRUE"/"FALSE" values to keep the code uniformly.</para> | ||
742 | </section> | 739 | </section> |
743 | 740 | ||
744 | <section><title>Crediting sources</title> | 741 | <section><title>Crediting sources</title> |