From: Roy Marples Date: Thu, 10 Jun 2010 10:38:37 +0000 (+0000) Subject: Fix compile on NetBSD X-Git-Tag: v5.2.5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=507646d8e1b912c11e671c40cc24ef6c55c18daf;p=thirdparty%2Fdhcpcd.git Fix compile on NetBSD --- diff --git a/dhcpcd.c b/dhcpcd.c index fc659a13..e89d1aa8 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -1325,7 +1325,7 @@ handle_link(_unused void *arg) } static void -reboot(struct interface *iface, int argc, char **argv) +if_reboot(struct interface *iface, int argc, char **argv) { const struct if_options *ifo; int opt; @@ -1385,7 +1385,7 @@ reconf_reboot(int action, int argc, char **argv, int oi) } if (ifn) { if (action) - reboot(ifn, argc, argv); + if_reboot(ifn, argc, argv); else if (ifn->state->new) configure(ifn); free_interface(ifp);