diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-13 12:15:16 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-13 12:15:16 +0000 |
commit | 0c3386274ef5002dffc20337ef02407f24d7400c (patch) | |
tree | 1e78bac7844a548e56a642b35acfe1fd67342f71 /plugins/check_dummy.c | |
parent | de5650f28e4e43a7264913953f95a75d8afe23f0 (diff) | |
download | monitoring-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.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index c2a5b7eb..ca37e98e 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c @@ -37,8 +37,10 @@ #include "common.h" #include "utils.h" -void print_help (char *); -void print_usage (char *); +const char *progname = "check_dummy"; + +void print_help (const char *); +void print_usage (const char *); int main (int argc, char **argv) @@ -82,7 +84,7 @@ main (int argc, char **argv) } void -print_help (char *cmd) +print_help (const char *cmd) { print_revision (cmd, "$Revision$"); printf ("Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)\n" @@ -94,7 +96,7 @@ print_help (char *cmd) } void -print_usage (char *cmd) +print_usage (const char *cmd) { printf ("Usage: %s <integer state>\n", cmd); } |