loader/cJSON: Prefix/mark static/remove symbols
authorChristopher Degawa <ccom@randomderp.com>
Thu, 6 Jul 2023 18:57:56 +0000 (13:57 -0500)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 2 Oct 2023 16:43:37 +0000 (10:43 -0600)
commitd23320bc2464abbbadf45c8d539b9869af95b54d
treeee38c1e499ef33e05cb64ff04d1abf6dd5052dfd
parent9e33cfc66f88c863e9a13492b8045ca28118ebbf
loader/cJSON: Prefix/mark static/remove symbols

Prefixes the symbols that are used outside the file with `loader_` to
match the others. Marks symbols that are not used outside as static.
Removes the symbols that are not used at all.

Prevents conflicts with other libraries that might also use cjson.
This may cause issues if the internal checkout of cJSON is updated, in
that case, it may be simpler to just prefix all of cJSON's symbols with
`loader_cJSON_`.

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
loader/cJSON.c
loader/cJSON.h
loader/loader.c
loader/settings.c