diff options
author | nectar <nectar@FreeBSD.org> | 2003-02-27 13:40:01 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-02-27 13:40:01 +0000 |
commit | 0d65b541d4b09e3c91112b5b2ffe0efa9a390a55 (patch) | |
tree | 205498ba7f9a56de737c44c088026af3e03556ca /include | |
parent | ae8811433e5eff867ac6b45eb3e972f8b0c6310c (diff) | |
download | FreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.zip FreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.tar.gz |
Eliminate 19 warnings in libc (at level WARNS=2) of the
`implicit declaration of function' variety.
Diffstat (limited to 'include')
-rw-r--r-- | include/resolv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h index 6b57961..12d14b4 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -307,6 +307,11 @@ int res_queriesmatch(const u_char *, const u_char *, void res_close(void); int res_opt(int, u_char *, int, int); const char * p_section(int, int); +/* XXX These must be exported for BIND4 compatibility. */ +void __putlong(u_int32_t, u_char *); +void __putshort(u_int16_t, u_char *); +u_int32_t _getlong(const u_char *); +u_int16_t _getshort(const u_char *); /* XXX The following depend on the ns_updrec typedef in arpa/nameser.h */ #ifdef _ARPA_NAMESER_H_ int res_update(ns_updrec *); |