diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 22:33:28 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 22:33:28 -0800 |
| commit | 6deb08a4ab64a998a5844df8f61fb8abe56f5d7b (patch) | |
| tree | a868d425cacc7f5b4c5775aa26a76fe26c2e3696 /json.c | |
| parent | 2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (diff) | |
Added forward declarations for static functions
Diffstat (limited to 'json.c')
| -rw-r--r-- | json.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |
