summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/if_nametoindex.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libc/net/if_nametoindex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/if_nametoindex.c b/src/lib/libc/net/if_nametoindex.c
index 8bd792b949..8b2cbf743f 100644
--- a/src/lib/libc/net/if_nametoindex.c
+++ b/src/lib/libc/net/if_nametoindex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: if_nametoindex.c,v 1.8 2002/03/07 22:40:23 millert Exp $ */ 1/* $OpenBSD: if_nametoindex.c,v 1.9 2015/09/14 10:47:01 guenther Exp $ */
2/* $KAME: if_nametoindex.c,v 1.5 2000/11/24 08:04:40 itojun Exp $ */ 2/* $KAME: if_nametoindex.c,v 1.5 2000/11/24 08:04:40 itojun Exp $ */
3 3
4/*- 4/*-
@@ -79,3 +79,4 @@ if_nametoindex(const char *ifname)
79 errno = ENXIO; 79 errno = ENXIO;
80 return(ni); 80 return(ni);
81} 81}
82DEF_WEAK(if_nametoindex);