summaryrefslogtreecommitdiffstats
path: root/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2013-04-24 09:38:18 +0000
committerRoy Marples <roy@marples.name>2013-04-24 09:38:18 +0000
commit3491ea4d56abdb366001ad2776c643d946f9f561 (patch)
tree4a8f66a24733a0a045050c39ba08cf1346a7213b /if-bsd.c
parent901b42dedb016d32dda2ec98fc30a63eb0a0eea1 (diff)
downloaddhcpcd-3491ea4d56abdb366001ad2776c643d946f9f561.tar.xz
Change from _unused to __unused to match NetBSD cdefs and avoid
a compiler failure on linux-headers-3.7
Diffstat (limited to 'if-bsd.c')
-rw-r--r--if-bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/if-bsd.c b/if-bsd.c
index 74fc0aea..6367be9d 100644
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -81,14 +81,14 @@ static char *link_buf;
static ssize_t link_buflen;
int
-if_init(_unused struct interface *iface)
+if_init(__unused struct interface *iface)
{
/* BSD promotes secondary address by default */
return 0;
}
int
-if_conf(_unused struct interface *iface)
+if_conf(__unused struct interface *iface)
{
/* No extra checks needed on BSD */
return 0;