diff options
Diffstat (limited to 'plugins/check_dummy.c')
-rw-r--r-- | plugins/check_dummy.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index c2a5b7e..ca37e98 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c | |||
@@ -37,8 +37,10 @@ | |||
37 | #include "common.h" | 37 | #include "common.h" |
38 | #include "utils.h" | 38 | #include "utils.h" |
39 | 39 | ||
40 | void print_help (char *); | 40 | const char *progname = "check_dummy"; |
41 | void print_usage (char *); | 41 | |
42 | void print_help (const char *); | ||
43 | void print_usage (const char *); | ||
42 | 44 | ||
43 | int | 45 | int |
44 | main (int argc, char **argv) | 46 | main (int argc, char **argv) |
@@ -82,7 +84,7 @@ main (int argc, char **argv) | |||
82 | } | 84 | } |
83 | 85 | ||
84 | void | 86 | void |
85 | print_help (char *cmd) | 87 | print_help (const char *cmd) |
86 | { | 88 | { |
87 | print_revision (cmd, "$Revision$"); | 89 | print_revision (cmd, "$Revision$"); |
88 | printf ("Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)\n" | 90 | printf ("Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)\n" |
@@ -94,7 +96,7 @@ print_help (char *cmd) | |||
94 | } | 96 | } |
95 | 97 | ||
96 | void | 98 | void |
97 | print_usage (char *cmd) | 99 | print_usage (const char *cmd) |
98 | { | 100 | { |
99 | printf ("Usage: %s <integer state>\n", cmd); | 101 | printf ("Usage: %s <integer state>\n", cmd); |
100 | } | 102 | } |