From: Roy Marples Date: Sun, 5 May 2019 18:04:02 +0000 (+0100) Subject: linux: use correct prototype X-Git-Tag: v8.0.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016f7e7b470b4eeaebc4f9a88886cae2b054b2e0;p=thirdparty%2Fdhcpcd.git linux: use correct prototype --- diff --git a/src/if-linux.c b/src/if-linux.c index d57fec00..4849d919 100644 --- a/src/if-linux.c +++ b/src/if-linux.c @@ -714,9 +714,9 @@ link_neigh(struct dhcpcd_ctx *ctx, __unused struct interface *ifp, #endif static int -link_netlink(struct dhcpcd_ctx *ctx, struct interface *ifp, - struct nlmsghdr *nlm) +link_netlink(struct dhcpcd_ctx *ctx, void *arg, struct nlmsghdr *nlm) { + struct interface *ifp = arg; int r; size_t len; struct rtattr *rta, *hwaddr;