summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-21 09:22:33 +0200
committerGitHub <noreply@github.com>2023-09-21 09:22:33 +0200
commitd5d0b50e89ee600b6a605344aad004c60b88994d (patch)
tree1ef0975b2a059daa7b8552aaf6371b3320ef477b /doc
parentab493d5515bd6dd8f844eb673b783479074263f8 (diff)
parent220455a11e8f1dd3a86ac4725cf0c799c8e3b21b (diff)
downloadmonitoring-plugins-d5d0b50e89ee600b6a605344aad004c60b88994d.tar.gz
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to 'doc')
-rw-r--r--doc/developer-guidelines.sgml9
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>