diff options
author | Pavel Roskin <proski@gnu.org> | 2009-04-07 21:04:04 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2009-04-16 10:29:13 (GMT) |
commit | a8cd7b62c86127e2c946373d50efac9d2ed8da38 (patch) | |
tree | b35e86057a3b68f72d720785645866e19d1b1296 /include/netlink | |
parent | becae5f37af86c1503e4afc7ef84876c2bb53c3c (diff) | |
download | libnl-a8cd7b62c86127e2c946373d50efac9d2ed8da38.zip libnl-a8cd7b62c86127e2c946373d50efac9d2ed8da38.tar.gz libnl-a8cd7b62c86127e2c946373d50efac9d2ed8da38.tar.bz2 |
nl_object_priv() is inline, so define it in the header
Diffstat (limited to 'include/netlink')
-rw-r--r-- | include/netlink/object.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/netlink/object.h b/include/netlink/object.h index bae2bf4..ef1ed9f 100644 --- a/include/netlink/object.h +++ b/include/netlink/object.h @@ -56,7 +56,11 @@ extern int nl_object_is_marked(struct nl_object *); /* 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 *); +static inline void * nl_object_priv(struct nl_object *obj) +{ + return obj; +} + #ifdef __cplusplus } |