summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-09-12 13:50:00 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-09-12 13:50:00 (GMT)
commit565e23a7df9a99ac60c3dbc9692b33497423188b (patch)
treeb4f88a5dcb4691d53f8a4a7d36bc109f28c77111
parentfbb9050c648f23863bcac71bb608f31fec1ea352 (diff)
downloadmonitoring-plugins-565e23a7df9a99ac60c3dbc9692b33497423188b.tar.gz
Switch guidelines to use bool instead of int for booleansrefs/pull/1922/head
-rw-r--r--doc/developer-guidelines.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml
index c900aea..37c963e 100644
--- a/doc/developer-guidelines.sgml
+++ b/doc/developer-guidelines.sgml
@@ -733,9 +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 also avoid using the type "bool" and its values 736 <para>You should use the type "bool" and its values
737 "true" and "false". Instead use the "int" type and the plugins' own 737 "true" and "false" instead of the "int" type for booleans.
738 "TRUE"/"FALSE" values to keep the code uniformly.</para> 738 </para>
739 </section> 739 </section>
740 740
741 <section><title>Crediting sources</title> 741 <section><title>Crediting sources</title>