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. */ #include "utils_base.h" -#include <stdbool.h> - #ifdef NP_EXTRA_OPTS /* Include extra-opts functions if compiled in */ #include "extra_opts.h" @@ -41,7 +39,8 @@ int is_intpos (char *); int is_intneg (char *); int is_intnonneg (char *); int is_intpercent (char *); -bool is_uint64(char *number, uint64_t *target); +int is_uint64(char *number, uint64_t *target); +int is_int64(char *number, int64_t *target); int is_numeric (char *); int is_positive (char *); |