summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-07-06 23:03:39 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-07-06 23:03:39 (GMT)
commit370561d594cd5b444d8858f10baa7712bac6a534 (patch)
tree9a8d6d53a8c8dd22ffb3426586a4a75ef701f57a /doc
parentf39f01e4980ed16af70a6df3dbec493ebe814396 (diff)
downloadmonitoring-plugins-370561d594cd5b444d8858f10baa7712bac6a534.tar.gz
Added hint to avoid using the boolean type in C as discussed on the devel list
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1748 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'doc')
-rw-r--r--doc/developer-guidelines.sgml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml
index 44fca24..7bfcc73 100644
--- a/doc/developer-guidelines.sgml
+++ b/doc/developer-guidelines.sgml
@@ -731,6 +731,10 @@ setup the tests. Run "make test" to run all the tests.
731 731
732 <para>You should use /* */ for comments and not // as some compilers 732 <para>You should use /* */ for comments and not // as some compilers
733 do not handle the latter form.</para> 733 do not handle the latter form.</para>
734
735 <para>You should also avoid using the type "bool" and its values
736 "true" and "false". Instead use the "int" type and the plugins' own
737 "TRUE"/"FALSE" values to keep the code uniformly.</para>
734 </section> 738 </section>
735 739
736 <section><title>Crediting sources</title> 740 <section><title>Crediting sources</title>