diff options
author | guenther <> | 2015-09-14 07:38:38 +0000 |
---|---|---|
committer | guenther <> | 2015-09-14 07:38:38 +0000 |
commit | 4b86b5390157b27ef6f13cfffac669a4ca39ca45 (patch) | |
tree | 3e8e48085acccfec6ea84d7f7dfa4ec85ac6335f /src/lib/libc/net/herror.c | |
parent | 631e2e1c0de0d507d6c3ef3349cce9c9003dac9b (diff) | |
download | openbsd-4b86b5390157b27ef6f13cfffac669a4ca39ca45.tar.gz openbsd-4b86b5390157b27ef6f13cfffac669a4ca39ca45.tar.bz2 openbsd-4b86b5390157b27ef6f13cfffac669a4ca39ca45.zip |
Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak
Diffstat (limited to 'src/lib/libc/net/herror.c')
-rw-r--r-- | src/lib/libc/net/herror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/herror.c b/src/lib/libc/net/herror.c index 8dee0cc382..356c85fa1d 100644 --- a/src/lib/libc/net/herror.c +++ b/src/lib/libc/net/herror.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: herror.c,v 1.9 2015/01/16 16:48:51 deraadt Exp $ */ | 1 | /* $OpenBSD: herror.c,v 1.10 2015/09/14 07:38:38 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1987, 1993 | 4 | * ++Copyright++ 1987, 1993 |
@@ -103,3 +103,4 @@ hstrerror(int err) | |||
103 | return (h_errlist[err]); | 103 | return (h_errlist[err]); |
104 | return ("Unknown resolver error"); | 104 | return ("Unknown resolver error"); |
105 | } | 105 | } |
106 | DEF_WEAK(hstrerror); | ||