]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Thu, 4 Sep 2008 11:43:56 +0000 (11:43 +0000)
committerRoy Marples <roy@marples.name>
Thu, 4 Sep 2008 11:43:56 +0000 (11:43 +0000)
if-linux.c

index 1bece08e9713dce3ba1867223230dd23504a7df2..695f033efc993aec97ba9db9b89697947f5a9412 100644 (file)
@@ -176,10 +176,12 @@ link_netlink(struct nlmsghdr *nlm, const struct interface *ifaces)
        return 0;
 }
 
-int
-link_changed(int fd, const struct interface *iface)
+manage_link(int fd, struct interface *ifaces,
+           void (*if_carrier)(struct interface *),
+           void (*if_add)(const char *),
+           void (*if_remove)(struct interface *))
 {
-       return get_netlink(fd, MSG_DONTWAIT, &link_netlink, iface);
+       return get_netlink(fd, MSG_DONTWAIT, &link_netlink, ifaces);
 }
 
 static int