util/set: add a set_clear function
authorScott D Phillips <scott.d.phillips@intel.com>
Wed, 2 May 2018 16:01:02 +0000 (09:01 -0700)
committerScott D Phillips <scott.d.phillips@intel.com>
Fri, 4 May 2018 17:13:33 +0000 (10:13 -0700)
commit5c075b085585b1629022d40ce7af9448c7d0e906
tree62b7f9acb5843d1288ab17b475fabc49f5717d12
parentaffe63b1da25dc7038499b6884523384684d70a8
util/set: add a set_clear function

Clear a set back to the state of having zero entries.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/util/set.c
src/util/set.h