diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-09 06:01:03 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-09 06:01:03 (GMT) |
commit | a228492c4bea15a3e6e7bdbfd6631611c97fe92c (patch) | |
tree | 0d21d5c54a2ab5ec3f4171fab668d390ea09bbaa /plugins/utils.c | |
parent | 024751bac56791b7ae5347404274046e8ba58ccb (diff) | |
download | monitoring-plugins-a228492c4bea15a3e6e7bdbfd6631611c97fe92c.tar.gz |
more pedantic compiler warns
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@672 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.c')
-rw-r--r-- | plugins/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/utils.c b/plugins/utils.c index 518caa8..5b97572 100644 --- a/plugins/utils.c +++ b/plugins/utils.c | |||
@@ -52,14 +52,14 @@ max_state (int a, int b) | |||
52 | return max (a, b); | 52 | return max (a, b); |
53 | } | 53 | } |
54 | 54 | ||
55 | void usage (char *msg) | 55 | void usage (const char *msg) |
56 | { | 56 | { |
57 | printf ("%s", msg); | 57 | printf ("%s", msg); |
58 | print_usage (); | 58 | print_usage (); |
59 | exit (STATE_UNKNOWN); | 59 | exit (STATE_UNKNOWN); |
60 | } | 60 | } |
61 | 61 | ||
62 | void usage2(char *msg, char *arg) | 62 | void usage2(const char *msg, const char *arg) |
63 | { | 63 | { |
64 | printf ("%s: %s - %s\n",progname,msg,arg); | 64 | printf ("%s: %s - %s\n",progname,msg,arg); |
65 | print_usage (); | 65 | print_usage (); |
@@ -67,7 +67,7 @@ void usage2(char *msg, char *arg) | |||
67 | } | 67 | } |
68 | 68 | ||
69 | void | 69 | void |
70 | usage3 (char *msg, int arg) | 70 | usage3 (const char *msg, int arg) |
71 | { | 71 | { |
72 | printf ("%s: %s - %c\n", progname, msg, arg); | 72 | printf ("%s: %s - %c\n", progname, msg, arg); |
73 | print_usage(); | 73 | print_usage(); |