From 6deb08a4ab64a998a5844df8f61fb8abe56f5d7b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 22:33:28 -0800 Subject: Added forward declarations for static functions --- json.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'json.c') diff --git a/json.c b/json.c index f099554..22905cc 100644 --- a/json.c +++ b/json.c @@ -6,12 +6,14 @@ #include "types.h" +__attribute__((nonnull)) +static int _json_match(const char *text, match_t *m, int comma, int verbose); + // // Helper function for json_match(). // `comma` is used to track whether a comma will need to be printed before the // next object or not. // -__attribute__((nonnull)) static int _json_match(const char *text, match_t *m, int comma, int verbose) { if (!verbose) { -- cgit v1.2.3