--- usr/include/netlink/list.h.orig 2009-02-25 00:29:57.000000000 +0100 +++ usr/include/netlink/list.h 2010-02-03 09:04:07.709955964 +0100 @@ -19,7 +19,7 @@ }; -static inline void __nl_list_add(struct nl_list_head *obj, +static void __nl_list_add(struct nl_list_head *obj, struct nl_list_head *prev, struct nl_list_head *next) { @@ -29,25 +29,25 @@ obj->next = next; } -static inline void nl_list_add_tail(struct nl_list_head *obj, +static void nl_list_add_tail(struct nl_list_head *obj, struct nl_list_head *head) { __nl_list_add(obj, head->prev, head); } -static inline void nl_list_add_head(struct nl_list_head *obj, +static void nl_list_add_head(struct nl_list_head *obj, struct nl_list_head *head) { __nl_list_add(obj, head, head->next); } -static inline void nl_list_del(struct nl_list_head *obj) +static void nl_list_del(struct nl_list_head *obj) { obj->next->prev = obj->prev; obj->prev->next = obj->next; } -static inline int nl_list_empty(struct nl_list_head *head) +static int nl_list_empty(struct nl_list_head *head) { return head->next == head; } --- usr/include/netlink/object.h.orig 2009-02-25 00:29:57.000000000 +0100 +++ usr/include/netlink/object.h 2010-02-03 09:04:12.533529343 +0100 @@ -55,7 +55,7 @@ /* Access Functions */ extern int nl_object_get_refcnt(struct nl_object *); extern struct nl_cache * nl_object_get_cache(struct nl_object *); -extern inline void * nl_object_priv(struct nl_object *); +extern void * nl_object_priv(struct nl_object *); #ifdef __cplusplus }