From 5b0e00782da2bbe9f9062884c9ae8ed330d5911e Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Sep 2013 22:45:45 +0200 Subject: Move global variables from .h to .c files Simplify things by moving the definition of global variables into .c files, where they belong. --- plugins/netutils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/netutils.c') diff --git a/plugins/netutils.c b/plugins/netutils.c index 1d6100ab..9f18723a 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c @@ -27,11 +27,12 @@ * *****************************************************************************/ -#define LOCAL_TIMEOUT_ALARM_HANDLER - #include "common.h" #include "netutils.h" +unsigned int socket_timeout = DEFAULT_SOCKET_TIMEOUT; +unsigned int socket_timeout_state = STATE_CRITICAL; + int econn_refuse_state = STATE_CRITICAL; int was_refused = FALSE; #if USE_IPV6 -- cgit v1.2.3