summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/rthdr.c
diff options
context:
space:
mode:
authorguenther <>2015-09-14 11:01:47 +0000
committerguenther <>2015-09-14 11:01:47 +0000
commitdf3c2449c4552e350ffe80cc4efdba189bc3ebbb (patch)
treec643dafac6e09d09dccc676f3963bd9b5b649eb0 /src/lib/libc/net/rthdr.c
parent88c29e91bd71abb6920cd8e70ee2be3ca4e664a0 (diff)
downloadopenbsd-df3c2449c4552e350ffe80cc4efdba189bc3ebbb.tar.gz
openbsd-df3c2449c4552e350ffe80cc4efdba189bc3ebbb.tar.bz2
openbsd-df3c2449c4552e350ffe80cc4efdba189bc3ebbb.zip
Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internal
calls go direct and all the symbols are weak
Diffstat (limited to 'src/lib/libc/net/rthdr.c')
-rw-r--r--src/lib/libc/net/rthdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/rthdr.c b/src/lib/libc/net/rthdr.c
index 92a1f75a76..1a29e87de1 100644
--- a/src/lib/libc/net/rthdr.c
+++ b/src/lib/libc/net/rthdr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rthdr.c,v 1.10 2015/01/16 16:48:51 deraadt Exp $ */ 1/* $OpenBSD: rthdr.c,v 1.11 2015/09/14 11:01:47 guenther Exp $ */
2/* $KAME: rthdr.c,v 1.22 2006/02/09 08:18:58 keiichi Exp $ */ 2/* $KAME: rthdr.c,v 1.22 2006/02/09 08:18:58 keiichi Exp $ */
3 3
4/* 4/*
@@ -53,6 +53,7 @@ inet6_rth_space(int type, int segments)
53 return (0); /* type not suppported */ 53 return (0); /* type not suppported */
54 } 54 }
55} 55}
56DEF_WEAK(inet6_rth_space);
56 57
57void * 58void *
58inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments) 59inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments)