Skip to content

Commit

Permalink
loader/cJSON: Prefix/mark static/remove symbols
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
1480c1 authored and charles-lunarg committed Oct 2, 2023
1 parent 9e33cfc commit d23320b
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 470 deletions.
Loading

0 comments on commit d23320b

Please sign in to comment.