]> git.ipfire.org Git - thirdparty/json-c.git/commit
Issue #236: Add -Wcast-qual and fix casts to retain constness.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 11 Jun 2016 18:18:46 +0000 (18:18 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 11 Jun 2016 18:19:39 +0000 (18:19 +0000)
commit595891729ecf39eac42536e12024435f5d8ea8fe
tree219876f6dfb7e906eff857e63fc9ce25a5084da6
parentf285c0a2e50ffa1b9d81aa9204324525542e43f8
Issue #236: Add -Wcast-qual and fix casts to retain constness.
To better distinguish between entry->k and entry->v being const within linkhash, but non-const outside, add lh_entry_v() and lh_entry_k() accessors.
Make lh_entry->k const.
configure.ac
json_object.c
json_object.h
json_object_iterator.c
linkhash.c
linkhash.h
tests/test4.c