summaryrefslogtreecommitdiffstats
path: root/plugins/check_dummy.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-13 12:15:16 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-13 12:15:16 (GMT)
commit0c3386274ef5002dffc20337ef02407f24d7400c (patch)
tree1e78bac7844a548e56a642b35acfe1fd67342f71 /plugins/check_dummy.c
parentde5650f28e4e43a7264913953f95a75d8afe23f0 (diff)
downloadmonitoring-plugins-0c3386274ef5002dffc20337ef02407f24d7400c.tar.gz
convert PROGANE from a define to a const char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
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}