shl: move next_pow2() into shl_array
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 23 Oct 2013 14:24:49 +0000 (16:24 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 23 Oct 2013 14:24:49 +0000 (16:24 +0200)
commitc26932018526cecb36413de428d5b08b586d653c
tree9caa57e9f95f86afd34693f20e28a1c909b179be
parent3d8698efccc9c352a146348a527608faa0326949
shl: move next_pow2() into shl_array

We use next_pow2() only in the shl_array implementation, so move it. We
want shl APIs to be self-contained so this removes the array->misc
dependency.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/shl_array.h
src/shl_misc.h