Use default hidden visibility to build libc_dns.

Bug: 11156955
Change-Id: Ia443705f5fbee0681039d4480abc89850968f475
This commit is contained in:
Elliott Hughes
2014-05-16 12:04:10 -07:00
parent b67a3c2716
commit 8563802b04
4 changed files with 25 additions and 12 deletions

View File

@@ -37,6 +37,7 @@
#include <netinet/in.h>
__BEGIN_DECLS
#pragma GCC visibility push(default)
struct res_state;
@@ -52,6 +53,7 @@ extern int b64_pton(char const*, u_char*, size_t);
extern int dn_comp(const char*, u_char*, int, u_char**, u_char**);
extern int dn_expand(const u_char*, const u_char*, const u_char*, char*, int);
#pragma GCC visibility pop
__END_DECLS
#endif /* _RESOLV_H_ */