summaryrefslogtreecommitdiffstats
path: root/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-09-18 07:02:43 +0000
committerRoy Marples <roy@marples.name>2014-09-18 07:02:43 +0000
commit297870af0e4cec4ba3056cbcc38db83227dd7b51 (patch)
treea9a74c35facf084a6228cf0f8ff10dea65bd7c24 /if.c
parent08af3cf1ed0f33db7c40bcbd76f3283b377435f1 (diff)
downloaddhcpcd-297870af0e4cec4ba3056cbcc38db83227dd7b51.tar.xz
Fix compile on BSD
Diffstat (limited to 'if.c')
-rw-r--r--if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/if.c b/if.c
index 59d2010d..e4fedce5 100644
--- a/if.c
+++ b/if.c
@@ -478,7 +478,7 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv)
return ifs;
}
-struct interface *
+static struct interface *
if_findindexname(struct dhcpcd_ctx *ctx, unsigned int idx, const char *name)
{
struct interface *ifp;