]> git.ipfire.org Git - thirdparty/json-c.git/commit
Fix build with clang-15+
authorKhem Raj <raj.khem@gmail.com>
Sun, 14 Aug 2022 03:37:03 +0000 (20:37 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 14 Aug 2022 03:47:20 +0000 (20:47 -0700)
commit6eca65617aacd19f4928acd5766b8dd20eda0b34
treeb8db3fe5a2474346399b8cee2a2ca2c5464a390f
parentac4dfa44cbaa450d9ccbf0268b08db9e301c559e
Fix build with clang-15+

Fixes
json_util.c:63:35: error: a function declaration without a prototype is deprecated in all versions of C [-We
rror,-Wstrict-prototypes]
const char *json_util_get_last_err()
                                  ^
                                   void

Signed-off-by: Khem Raj <raj.khem@gmail.com>
json_util.c
tests/test1.c
tests/test4.c
tests/test_cast.c
tests/test_charcase.c
tests/test_parse.c
tests/test_printbuf.c
tests/test_util_file.c