diff options
-rw-r--r-- | lib/utils_base.h | 4 | ||||
-rw-r--r-- | plugins/utils.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h index ca27f16..113e304 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h | |||
@@ -1,3 +1,5 @@ | |||
1 | #ifndef _UTILS_BASE_ | ||
2 | #define _UTILS_BASE_ | ||
1 | /* Header file for nagios plugins utils_base.c */ | 3 | /* Header file for nagios plugins utils_base.c */ |
2 | 4 | ||
3 | /* This file holds header information for thresholds - use this in preference to | 5 | /* This file holds header information for thresholds - use this in preference to |
@@ -35,3 +37,5 @@ int get_status(double, thresholds *); | |||
35 | char *np_escaped_string (const char *); | 37 | char *np_escaped_string (const char *); |
36 | 38 | ||
37 | void die (int, const char *, ...) __attribute__((noreturn,format(printf, 2, 3))); | 39 | void die (int, const char *, ...) __attribute__((noreturn,format(printf, 2, 3))); |
40 | |||
41 | #endif /* _UTILS_BASE_ */ | ||
diff --git a/plugins/utils.h b/plugins/utils.h index 1f53aad..0d00ce8 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -13,6 +13,9 @@ in order to resist overflow attacks. In addition, a few functions are | |||
13 | provided to standardize version and error reporting across the entire | 13 | provided to standardize version and error reporting across the entire |
14 | suite of plugins. */ | 14 | suite of plugins. */ |
15 | 15 | ||
16 | /* now some functions etc are being defined in ../lib/utils_base.c */ | ||
17 | #include "utils_base.h" | ||
18 | |||
16 | /* Standardize version information, termination */ | 19 | /* Standardize version information, termination */ |
17 | 20 | ||
18 | /* $Id$ */ | 21 | /* $Id$ */ |