From 2024094a6e5e82c5bc15e4fde08900de62a3e8e8 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 24 Oct 2006 09:48:26 +0000 Subject: Fixed compile on non-glibc platforms git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1522 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-root/check_icmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins-root/check_icmp.c') diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 306113b5..c4f6739e 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c @@ -42,8 +42,9 @@ * *****************************************************************************/ -/* progname may be check_ldaps */ -//char *progname = "check_ldap"; +/* progname may change */ +/* char *progname = "check_icmp"; */ +char *progname; const char *revision = "$Revision$"; const char *copyright = "2005-2006"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; @@ -195,7 +196,6 @@ extern char *optarg; extern char **environ; /** global variables **/ -static char *progname; static struct rta_host **table, *cursor, *list; static threshold crit = {80, 500000}, warn = {40, 200000}; static int mode, protocols, sockets, debug = 0, timeout = 10; -- cgit v1.2.3-74-g34f1