diff options
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 65e06eb..d6e9c8f 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -32,9 +32,11 @@ void print_revision (const char *, const char *); | |||
32 | /* Handle timeouts */ | 32 | /* Handle timeouts */ |
33 | 33 | ||
34 | #ifdef LOCAL_TIMEOUT_ALARM_HANDLER | 34 | #ifdef LOCAL_TIMEOUT_ALARM_HANDLER |
35 | extern unsigned int timeout_state; | ||
35 | extern unsigned int timeout_interval; | 36 | extern unsigned int timeout_interval; |
36 | RETSIGTYPE timeout_alarm_handler (int); | 37 | RETSIGTYPE timeout_alarm_handler (int); |
37 | #else | 38 | #else |
39 | unsigned int timeout_state = STATE_CRITICAL; | ||
38 | unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; | 40 | unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; |
39 | extern RETSIGTYPE timeout_alarm_handler (int); | 41 | extern RETSIGTYPE timeout_alarm_handler (int); |
40 | #endif | 42 | #endif |