util: hashtable: make hashing prototypes match
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 27 Oct 2017 16:43:45 +0000 (17:43 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 30 Oct 2017 15:18:00 +0000 (15:18 +0000)
commita8b1715b8ab974518f9713b82955f049a2c1c7ec
tree896215560a4d861dfcdf1ecc013fddb8eaac926f
parentc220202a73d01f3f2cf1393b741f5ef8382b1424
util: hashtable: make hashing prototypes match

It seems nobody's using the string hashing function. If you try to
pass it directly to the hashtable creation function, you'll get
compiler warning for non matching prototypes. Let's make them match.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/hash_table.c
src/util/hash_table.h