diff options
| author | guenther <> | 2015-09-14 07:38:38 +0000 |
|---|---|---|
| committer | guenther <> | 2015-09-14 07:38:38 +0000 |
| commit | 69d51e1e52740c86a8655750d6b847266c605ef4 (patch) | |
| tree | 3e8e48085acccfec6ea84d7f7dfa4ec85ac6335f /src/lib/libc/net/herror.c | |
| parent | 96fce85193d4320b57ae03fe8567287e7884dbe5 (diff) | |
| download | openbsd-69d51e1e52740c86a8655750d6b847266c605ef4.tar.gz openbsd-69d51e1e52740c86a8655750d6b847266c605ef4.tar.bz2 openbsd-69d51e1e52740c86a8655750d6b847266c605ef4.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); | ||
