summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-10-16 14:56:23 -0400
committerAdam Jackson <ajax@redhat.com>2013-09-10 13:28:24 -0400
commit13b507409f9e01adebba50e7eb801b52e52692ba (patch)
tree9307fcdac616b142dc68df61c7aa2de54d776045 /include
parentdbe10ef0e35659ee0e5db73f29670a3894a3e3f5 (diff)
list: Avoid using X types
In particular, Bool. This is not an ABI break: /usr/include/X11/Xdefs.h:typedef int Bool; Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h
index 11de7c561..455c670d3 100644
--- a/include/list.h
+++ b/include/list.h
@@ -213,7 +213,7 @@ xorg_list_del(struct xorg_list *entry)
*
* @return True if the list contains one or more elements or False otherwise.
*/
-static inline Bool
+static inline int
xorg_list_is_empty(struct xorg_list *head)
{
return head->next == head;