diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-10-02 23:37:12 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-10-02 23:37:12 +0200 |
commit | 46c5327e348540ab04dc37d42f6d1c5408179fa6 (patch) | |
tree | 06daa9142183c0f6c6624bebcffd7d11de1ab976 /plugins/utils.h | |
parent | d2f2da175eda5a06291a974d971968a1241d7935 (diff) | |
download | monitoring-plugins-46c5327e348540ab04dc37d42f6d1c5408179fa6.tar.gz |
Revert to poor man's logic
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 91a9c3f9..5b54da3c 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -17,8 +17,6 @@ suite of plugins. */ | |||
17 | #include "utils_base.h" | 17 | #include "utils_base.h" |
18 | 18 | ||
19 | 19 | ||
20 | #include <stdbool.h> | ||
21 | |||
22 | #ifdef NP_EXTRA_OPTS | 20 | #ifdef NP_EXTRA_OPTS |
23 | /* Include extra-opts functions if compiled in */ | 21 | /* Include extra-opts functions if compiled in */ |
24 | #include "extra_opts.h" | 22 | #include "extra_opts.h" |
@@ -41,7 +39,8 @@ int is_intpos (char *); | |||
41 | int is_intneg (char *); | 39 | int is_intneg (char *); |
42 | int is_intnonneg (char *); | 40 | int is_intnonneg (char *); |
43 | int is_intpercent (char *); | 41 | int is_intpercent (char *); |
44 | bool is_uint64(char *number, uint64_t *target); | 42 | int is_uint64(char *number, uint64_t *target); |
43 | int is_int64(char *number, int64_t *target); | ||
45 | 44 | ||
46 | int is_numeric (char *); | 45 | int is_numeric (char *); |
47 | int is_positive (char *); | 46 | int is_positive (char *); |