Module Name: xsrc Committed By: mrg Date: Tue Oct 13 03:00:12 UTC 2015
Modified Files: xsrc/external/mit/xorg-server/dist/include: list.h Log Message: add list_append() macro that xf86-video-nouveau 1.0.11 wants. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server/dist/include/list.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xorg-server/dist/include/list.h diff -u xsrc/external/mit/xorg-server/dist/include/list.h:1.2 xsrc/external/mit/xorg-server/dist/include/list.h:1.3 --- xsrc/external/mit/xorg-server/dist/include/list.h:1.2 Sat Mar 22 04:17:25 2014 +++ xsrc/external/mit/xorg-server/dist/include/list.h Tue Oct 13 03:00:12 2015 @@ -100,4 +100,10 @@ list_is_empty(const struct list *head) &pos->member != (head); \ pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) +static inline void +list_append(struct list *entry, struct list *head) +{ + __list_add(entry, head, head->next); +} + #endif