aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/list.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
committermarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
commit0f834b91a4768673833ab4917e87d86c237bb1a6 (patch)
tree363489504ed4b2d360259b8de4c9e392918e5d02 /xorg-server/include/list.h
parentfc72edebf875378459368c5383d9023730cbca54 (diff)
downloadvcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.gz
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.bz2
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.zip
libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update
23 Mar 2012
Diffstat (limited to 'xorg-server/include/list.h')
-rw-r--r--xorg-server/include/list.h15
1 files changed, 4 insertions, 11 deletions
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