Module: wine Branch: master Commit: cc34e753852d7f801fd4f42358fe4270bb869deb URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc34e753852d7f801fd4f42358...
Author: Austin English austinenglish@gmail.com Date: Sun Oct 11 02:21:52 2009 -0500
include: fix a compiler warning on GNU/FreeBSD.
---
include/wine/list.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/wine/list.h b/include/wine/list.h index b610e5e..da3ce91 100644 --- a/include/wine/list.h +++ b/include/wine/list.h @@ -221,9 +221,11 @@ static inline void list_move_head( struct list *dst, struct list *src ) (cursor2) = LIST_ENTRY((cursor)->field.prev, type, field))
/* macros for statically initialized lists */ +#undef LIST_INIT #define LIST_INIT(list) { &(list), &(list) }
/* get pointer to object containing list element */ +#undef LIST_ENTRY #define LIST_ENTRY(elem, type, field) \ ((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))