From 13b507409f9e01adebba50e7eb801b52e52692ba Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 16 Oct 2012 14:56:23 -0400 Subject: [PATCH] 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 Signed-off-by: Adam Jackson --- include/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;