util/list: add list_first/last_entry
authorRob Clark <robclark@freedesktop.org>
Wed, 29 Apr 2015 12:38:45 +0000 (08:38 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 21 Jun 2015 11:52:36 +0000 (07:52 -0400)
commitc79b2e626c60a29f684bc389f07a712b59fa99cc
treefc7f951bb7c6bbb610975baafad76a1d2254bec0
parentb3d2e367167b675c0b402c90220f40f8cd567d7c
util/list: add list_first/last_entry

I need an easier way to get at head/tail in ir3.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/util/list.h