From 2bbd7cf8204609d07c36511f2a57ca282f05b6f2 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Thu, 27 Feb 2003 13:40:01 +0000 Subject: Eliminate 19 warnings in libc (at level WARNS=2) of the `implicit declaration of function' variety. --- include/resolv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/resolv.h b/include/resolv.h index 6b5796191ecc..12d14b4fafd6 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 *); -- cgit v1.3