diff options
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 822be940..657d4bfa 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -31,17 +31,12 @@ void print_revision (const char *, const char *); | |||
31 | 31 | ||
32 | /* Handle timeouts */ | 32 | /* Handle timeouts */ |
33 | 33 | ||
34 | #ifdef LOCAL_TIMEOUT_ALARM_HANDLER | ||
35 | extern unsigned int timeout_state; | 34 | extern unsigned int timeout_state; |
36 | extern unsigned int timeout_interval; | 35 | extern unsigned int timeout_interval; |
36 | |||
37 | RETSIGTYPE timeout_alarm_handler (int); | 37 | RETSIGTYPE timeout_alarm_handler (int); |
38 | #else | ||
39 | unsigned int timeout_state = STATE_CRITICAL; | ||
40 | unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; | ||
41 | extern RETSIGTYPE timeout_alarm_handler (int); | ||
42 | #endif | ||
43 | 38 | ||
44 | time_t start_time, end_time; | 39 | extern time_t start_time, end_time; |
45 | 40 | ||
46 | /* Test input types */ | 41 | /* Test input types */ |
47 | 42 | ||