aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index c12391863..af7bb6e17 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -512,8 +512,8 @@ static int dhcp_up(struct interface_defn_t *ifd, execfn *exec)
512 ifd, exec); 512 ifd, exec);
513} 513}
514#else 514#else
515static int dhcp_up(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, 515static int dhcp_up(struct interface_defn_t *ifd UNUSED_PARAM,
516 execfn *exec ATTRIBUTE_UNUSED) 516 execfn *exec UNUSED_PARAM)
517{ 517{
518 return 0; /* no dhcp support */ 518 return 0; /* no dhcp support */
519} 519}
@@ -537,14 +537,14 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec)
537 "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); 537 "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
538} 538}
539#else 539#else
540static int dhcp_down(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, 540static int dhcp_down(struct interface_defn_t *ifd UNUSED_PARAM,
541 execfn *exec ATTRIBUTE_UNUSED) 541 execfn *exec UNUSED_PARAM)
542{ 542{
543 return 0; /* no dhcp support */ 543 return 0; /* no dhcp support */
544} 544}
545#endif 545#endif
546 546
547static int manual_up_down(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, execfn *exec ATTRIBUTE_UNUSED) 547static int manual_up_down(struct interface_defn_t *ifd UNUSED_PARAM, execfn *exec UNUSED_PARAM)
548{ 548{
549 return 1; 549 return 1;
550} 550}