You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libnl/files/libnl-1.1-inline.patch

23 lines
568 B

--- a/include/netlink/object.h
+++ b/include/netlink/object.h
@@ -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
}
--- a/lib/object.c
+++ b/lib/object.c
@@ -376,7 +376,7 @@
return obj->ce_cache;
}
-inline void *nl_object_priv(struct nl_object *obj)
+void *nl_object_priv(struct nl_object *obj)
{
return obj;
}