diff options
| author | 2015-09-13 21:36:08 +0000 | |
|---|---|---|
| committer | 2015-09-13 21:36:08 +0000 | |
| commit | b2d13c95892d0a18f20a23fac7e63fa27b549fb5 (patch) | |
| tree | 1de3be9acccebb5a243d86cf8a8c09bce927d63a /lib/libc/net/res_comp.c | |
| parent | Another style(9) grenade. (diff) | |
| download | wireguard-openbsd-b2d13c95892d0a18f20a23fac7e63fa27b549fb5.tar.xz wireguard-openbsd-b2d13c95892d0a18f20a23fac7e63fa27b549fb5.zip | |
Wrap <arpa/inet.h> and <arpa/nameser.h> so that calls go direct and the
symbols without underbar prefix are all weak
Diffstat (limited to 'lib/libc/net/res_comp.c')
| -rw-r--r-- | lib/libc/net/res_comp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/res_comp.c b/lib/libc/net/res_comp.c index a1467c3dbb7..f6f987eb0e8 100644 --- a/lib/libc/net/res_comp.c +++ b/lib/libc/net/res_comp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_comp.c,v 1.16 2015/01/16 18:18:58 millert Exp $ */ +/* $OpenBSD: res_comp.c,v 1.17 2015/09/13 21:36:08 guenther Exp $ */ /* * ++Copyright++ 1985, 1993 @@ -440,6 +440,7 @@ _getshort(const u_char *msgp) GETSHORT(u, msgp); return (u); } +DEF_STRONG(_getshort); #ifdef NeXT /* @@ -461,6 +462,7 @@ _getlong(const u_char *msgp) GETLONG(u, msgp); return (u); } +DEF_STRONG(_getlong); void __putshort(u_int16_t s, u_char *msgp) |
