From a228492c4bea15a3e6e7bdbfd6631611c97fe92c Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sat, 9 Aug 2003 06:01:03 +0000 Subject: more pedantic compiler warns git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@672 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/utils.c') diff --git a/plugins/utils.c b/plugins/utils.c index 518caa8c..5b975729 100644 --- a/plugins/utils.c +++ b/plugins/utils.c @@ -52,14 +52,14 @@ max_state (int a, int b) return max (a, b); } -void usage (char *msg) +void usage (const char *msg) { printf ("%s", msg); print_usage (); exit (STATE_UNKNOWN); } -void usage2(char *msg, char *arg) +void usage2(const char *msg, const char *arg) { printf ("%s: %s - %s\n",progname,msg,arg); print_usage (); @@ -67,7 +67,7 @@ void usage2(char *msg, char *arg) } void -usage3 (char *msg, int arg) +usage3 (const char *msg, int arg) { printf ("%s: %s - %c\n", progname, msg, arg); print_usage(); -- cgit v1.2.3