util/hash_table: add helper to remove entry by key
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 12 Jul 2018 18:17:04 +0000 (11:17 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 13 Jul 2018 21:20:49 +0000 (14:20 -0700)
commit4ec8b39fcd8086ff73334dcb31491d907ac08e85
treed0480fbbdc0f5e478a7935ca3ed05e55e79b232d
parenta3150c1d06ae7766c3d3fe3b33432e55c3c7527e
util/hash_table: add helper to remove entry by key

And the corresponding test case.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/hash_table.c
src/util/hash_table.h
src/util/tests/hash_table/.gitignore
src/util/tests/hash_table/Makefile.am
src/util/tests/hash_table/meson.build
src/util/tests/hash_table/remove_key.c [new file with mode: 0644]