diff options
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-types-rtnl.c')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-types-rtnl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-types-rtnl.c b/src/libsystemd/sd-netlink/netlink-types-rtnl.c index dacd7517a0..75046e98a9 100644 --- a/src/libsystemd/sd-netlink/netlink-types-rtnl.c +++ b/src/libsystemd/sd-netlink/netlink-types-rtnl.c @@ -867,6 +867,6 @@ static const NLType rtnl_types[] = { DEFINE_TYPE_SYSTEM(rtnl); -int rtnl_get_type(uint16_t nlmsg_type, const NLType **ret) { - return type_system_get_type(&rtnl_type_system, ret, nlmsg_type); +const NLType *rtnl_get_type(uint16_t nlmsg_type) { + return type_system_get_type(&rtnl_type_system, nlmsg_type); } |