diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-12 13:48:44 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-12 13:48:44 (GMT) |
commit | fbb9050c648f23863bcac71bb608f31fec1ea352 (patch) | |
tree | c3af125471210b4f7d311d4a39cdac96d945d6b2 /doc | |
parent | 0613648bb99cfae9592690d386b3359304e875b6 (diff) | |
download | monitoring-plugins-fbb9050c648f23863bcac71bb608f31fec1ea352.tar.gz |
Remove note about comments, we will accept // comments
Diffstat (limited to 'doc')
-rw-r--r-- | doc/developer-guidelines.sgml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 1982974..c900aea 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
@@ -733,9 +733,6 @@ 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 | ||
737 | do not handle the latter form.</para> | ||
738 | |||
739 | <para>You should also avoid using the type "bool" and its values | 736 | <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 | 737 | "true" and "false". Instead use the "int" type and the plugins' own |
741 | "TRUE"/"FALSE" values to keep the code uniformly.</para> | 738 | "TRUE"/"FALSE" values to keep the code uniformly.</para> |