aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-18 10:30:17 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-18 10:30:17 -0800
commiteece8c85564b9c5ae0cb3edfe7edb684242e9227 (patch)
treea3de972d08072bd4e7d5b626693ae174542cc58e /json.h
parent7f0c3804dce7591332bbf6bd0922597ea675df44 (diff)
More static analyzer cleanup, including switching to use bools where
appropriate and EXIT_SUCESS/EXIT_FAILURE
Diffstat (limited to 'json.h')
-rw-r--r--json.h6
1 files changed, 5 insertions, 1 deletions
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 <stdbool.h>
+
+#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