From eece8c85564b9c5ae0cb3edfe7edb684242e9227 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 18 Jan 2021 10:30:17 -0800 Subject: More static analyzer cleanup, including switching to use bools where appropriate and EXIT_SUCESS/EXIT_FAILURE --- json.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'json.h') diff --git a/json.h b/json.h index 65fa718..554c88b 100644 --- a/json.h +++ b/json.h @@ -4,8 +4,12 @@ #ifndef JSON__H #define JSON__H +#include + +#include "types.h" + __attribute__((nonnull)) -void json_match(const char *text, match_t *m, unsigned int verbose); +void json_match(const char *text, match_t *m, bool verbose); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 -- cgit v1.2.3