util/list: Make some helpers take const lists
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 Jul 2018 17:37:53 +0000 (10:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 29 Jul 2018 20:39:35 +0000 (13:39 -0700)
commit5c1c6939ce384dbcae690ed4d5fbfca3ae240844
treebfe5ac3ee213de7d68ee5781baec3d033ada67db
parent0ddae4acae08cc6b216c49f85c6ffb969dea0969
util/list: Make some helpers take const lists

They're all just querying things about the list and not mutating
anything.

Reviewed-by: Thomas Helland<thomashelland90@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/util/list.h