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
commitbf667082490d7a06ab4fe5b0c135d58ac8c0e1c7 (patch)
treec643dafac6e09d09dccc676f3963bd9b5b649eb0 /src/lib/libc/net/ethers.c
parenteea318797a5862eded1e73a1da56f528d56ae495 (diff)
downloadopenbsd-bf667082490d7a06ab4fe5b0c135d58ac8c0e1c7.tar.gz
openbsd-bf667082490d7a06ab4fe5b0c135d58ac8c0e1c7.tar.bz2
openbsd-bf667082490d7a06ab4fe5b0c135d58ac8c0e1c7.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);