util/list: Add list splicing functions
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 30 Jul 2015 18:28:22 +0000 (11:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Apr 2016 20:29:09 +0000 (13:29 -0700)
commit7dac4a2889673c52bded63e2daef360e9e927eb3
treec8cd58288f54935b1349a37947f7c9c5ab9a6ff5
parent082f6d75aef4e672b6e41ee77630d3add7e1ef5d
util/list: Add list splicing functions

This adds functions for splicing one list into another.  These have
more-or-less the same API as the kernel list splicing functions.  The
implementation, however, was stolen from the Wayland list implementation.

Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/util/list.h