util/list: Add list_empty and list_length functions
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Apr 2015 03:39:37 +0000 (20:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 May 2015 00:16:13 +0000 (17:16 -0700)
commitaddcf41066d28a5d2d5ed112a65a3958b056bd19
treefb14ba22204a837faee9047c01d4c53ae7b70995
parentb31d8983ba5d68f3bcb5520b9281a4553d66fb95
util/list: Add list_empty and list_length functions

v2: Don't use C99 when iterating over the list

Acked-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/util/list.h