Janitor: list.h functions defined but not used

Henri Verbeet hverbeet at gmail.com
Mon Apr 20 03:01:24 CDT 2009

2009/4/20 James McKenzie <jjmckenzie51 at earthlink.net>:
> What compiler was complaining about the static inline problem?  Your
> solution may cause problems with other compilers.
More specifically, you need to protect this with an #ifdef.


#ifdef __GNUC__
#define __WINE_ATTR_UNUSED __attribute__((unused))
static inline void __WINE_ATTR_UNUSED list_add_head( struct list
*list, struct list *elem )

More information about the wine-devel mailing list