uterm: video: use shl_dlist for linked lists
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 12 Jan 2013 12:31:17 +0000 (13:31 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 12 Jan 2013 12:31:17 +0000 (13:31 +0100)
commitbf39cf80b042abff52e7b629f2589f47322554f9
tree44b508b7014162807c26b2ee933abe86b9c24bb2
parentca6d86d8e82ba9ce746bd42fa3cb55f1fd82c8ab
uterm: video: use shl_dlist for linked lists

uterm-video is actually older than shl_dlist and it used its own
single-linked lists until now. This had several drawbacks and produced
ugly code.

This commit converts all uterm-video elements to use shl_dlist and
introduces _bind and _unbind helpers.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_drm_shared.c
src/uterm_drm_shared_internal.h
src/uterm_fbdev_internal.h
src/uterm_fbdev_render.c
src/uterm_fbdev_video.c
src/uterm_video.c
src/uterm_video_drm.c
src/uterm_video_dumb.c
src/uterm_video_internal.h