diff options
author | 2015-09-14 07:38:37 +0000 | |
---|---|---|
committer | 2015-09-14 07:38:37 +0000 | |
commit | 06201dd4d8b19e0383322797ffab28e23bd09e0e (patch) | |
tree | 74b5a299616c4bb3c854d1284daedeb6cd1e8d31 /lib/libc/net/herror.c | |
parent | Supply DEF_WEAK() macro to suppress warnings during compilation via (diff) | |
download | wireguard-openbsd-06201dd4d8b19e0383322797ffab28e23bd09e0e.tar.xz wireguard-openbsd-06201dd4d8b19e0383322797ffab28e23bd09e0e.zip |
Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak
Diffstat (limited to 'lib/libc/net/herror.c')
-rw-r--r-- | lib/libc/net/herror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/herror.c b/lib/libc/net/herror.c index 8dee0cc382e..356c85fa1de 100644 --- a/lib/libc/net/herror.c +++ b/lib/libc/net/herror.c @@ -1,4 +1,4 @@ -/* $OpenBSD: herror.c,v 1.9 2015/01/16 16:48:51 deraadt Exp $ */ +/* $OpenBSD: herror.c,v 1.10 2015/09/14 07:38:38 guenther Exp $ */ /* * ++Copyright++ 1987, 1993 @@ -103,3 +103,4 @@ hstrerror(int err) return (h_errlist[err]); return ("Unknown resolver error"); } +DEF_WEAK(hstrerror); |