Module Name: xsrc Committed By: msaitoh Date: Mon Dec 12 09:17:36 UTC 2016
Modified Files: xsrc/external/mit/xorg-server/dist/include [netbsd-7]: list.h Log Message: Pull up following revision(s) (requested by snj in ticket #1304): external/mit/xorg-server/dist/include/list.h: revision 1.3 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.2.2.1 \ 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.2.2.1 --- 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 Mon Dec 12 09:17:36 2016 @@ -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