From 0f834b91a4768673833ab4917e87d86c237bb1a6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 23 Mar 2012 10:05:55 +0100 Subject: libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update 23 Mar 2012 --- xorg-server/include/list.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'xorg-server/include/list.h') diff --git a/xorg-server/include/list.h b/xorg-server/include/list.h index 14c671f37..96c0bcbd6 100644 --- a/xorg-server/include/list.h +++ b/xorg-server/include/list.h @@ -125,8 +125,7 @@ xorg_list_init(struct xorg_list *list) static inline void __xorg_list_add(struct xorg_list *entry, - struct xorg_list *prev, - struct xorg_list *next) + struct xorg_list *prev, struct xorg_list *next) { next->prev = entry; entry->next = next; @@ -176,7 +175,6 @@ xorg_list_append(struct xorg_list *entry, struct xorg_list *head) __xorg_list_add(entry, head->prev, head); } - static inline void __xorg_list_del(struct xorg_list *prev, struct xorg_list *next) { @@ -311,8 +309,6 @@ xorg_list_is_empty(struct xorg_list *head) &pos->member != (head); \ pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) - - /* NULL-Terminated List Interface * * The interface below does _not_ use the struct xorg_list as described above. @@ -391,7 +387,6 @@ xorg_list_is_empty(struct xorg_list *head) _entry; \ _entry = _tmp, _tmp = (_tmp) ? (_tmp)->_member: NULL) - /** * Append the element to the end of the list. This macro may be used to * merge two lists. @@ -477,10 +472,8 @@ xorg_list_is_empty(struct xorg_list *head) * list functions. Unfortunately, the xf86OptionRec uses it and we can't * easily get rid of it. Do not use for new code. */ -typedef struct generic_list_rec -{ - void *next; -} -GenericListRec, *GenericListPtr, *glp; +typedef struct generic_list_rec { + void *next; +} GenericListRec, *GenericListPtr, *glp; #endif -- cgit v1.2.3