diff options
author | Adam Jackson <ajax@redhat.com> | 2012-10-16 14:56:23 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-09-10 13:28:24 -0400 |
commit | 13b507409f9e01adebba50e7eb801b52e52692ba (patch) | |
tree | 9307fcdac616b142dc68df61c7aa2de54d776045 /include | |
parent | dbe10ef0e35659ee0e5db73f29670a3894a3e3f5 (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.h | 2 |
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; |