summaryrefslogtreecommitdiffstats
path: root/plugins/check_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dummy.c')
-rw-r--r--plugins/check_dummy.c10
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
40void print_help (char *); 40const char *progname = "check_dummy";
41void print_usage (char *); 41
42void print_help (const char *);
43void print_usage (const char *);
42 44
43int 45int
44main (int argc, char **argv) 46main (int argc, char **argv)
@@ -82,7 +84,7 @@ main (int argc, char **argv)
82} 84}
83 85
84void 86void
85print_help (char *cmd) 87print_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
96void 98void
97print_usage (char *cmd) 99print_usage (const char *cmd)
98{ 100{
99 printf ("Usage: %s <integer state>\n", cmd); 101 printf ("Usage: %s <integer state>\n", cmd);
100} 102}