changeset 4521:9a0884e8ab97 draft

linux: use correct prototype
author Roy Marples <roy@marples.name>
date Sun, 05 May 2019 19:04:02 +0100
parents 9c9d2b0827eb
children e2582c7c7e1d
files src/if-linux.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/if-linux.c	Sun May 05 11:54:45 2019 +0000
+++ b/src/if-linux.c	Sun May 05 19:04:02 2019 +0100
@@ -714,9 +714,9 @@
 #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;