summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ethers.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/ethers.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/ethers.c')
-rw-r--r--src/lib/libc/net/ethers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/ethers.c b/src/lib/libc/net/ethers.c
index a89f0c217b..a7e0796c72 100644
--- a/src/lib/libc/net/ethers.c
+++ b/src/lib/libc/net/ethers.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ethers.c,v 1.23 2015/01/16 16:48:51 deraadt Exp $ */ 1/* $OpenBSD: ethers.c,v 1.24 2015/09/14 11:01:47 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -232,3 +232,4 @@ bad:
232 errno = EINVAL; 232 errno = EINVAL;
233 return (-1); 233 return (-1);
234} 234}
235DEF_WEAK(ether_line);