diff options
author | guenther <> | 2015-09-14 10:47:01 +0000 |
---|---|---|
committer | guenther <> | 2015-09-14 10:47:01 +0000 |
commit | 88c29e91bd71abb6920cd8e70ee2be3ca4e664a0 (patch) | |
tree | 5a5e13a6181e114fbe3f86475d4cf0424a8fce9c /src/lib/libc/net/if_indextoname.c | |
parent | d2986c5b1bcdeaa2c77d34466be3b2d753d9e3d4 (diff) | |
download | openbsd-88c29e91bd71abb6920cd8e70ee2be3ca4e664a0.tar.gz openbsd-88c29e91bd71abb6920cd8e70ee2be3ca4e664a0.tar.bz2 openbsd-88c29e91bd71abb6920cd8e70ee2be3ca4e664a0.zip |
Wrap <net/if.h> and <net/if_dl.h> so internal calls go direct and all the
symbols are weak
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/net/if_indextoname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/if_indextoname.c b/src/lib/libc/net/if_indextoname.c index f99e52e387..f1c65966df 100644 --- a/src/lib/libc/net/if_indextoname.c +++ b/src/lib/libc/net/if_indextoname.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: if_indextoname.c,v 1.9 2002/03/07 22:40:23 millert Exp $ */ | 1 | /* $OpenBSD: if_indextoname.c,v 1.10 2015/09/14 10:47:01 guenther Exp $ */ |
2 | /* $KAME: if_indextoname.c,v 1.6 2000/11/07 22:33:25 jinmei Exp $ */ | 2 | /* $KAME: if_indextoname.c,v 1.6 2000/11/07 22:33:25 jinmei Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -84,3 +84,4 @@ if_indextoname(unsigned int ifindex, char *ifname) | |||
84 | errno = error; | 84 | errno = error; |
85 | return(ifname); | 85 | return(ifname); |
86 | } | 86 | } |
87 | DEF_WEAK(if_indextoname); | ||