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

@@ -196,6 +196,8 @@ struct addrinfo {
#define SCOPE_DELIMITER '%'
__BEGIN_DECLS
#pragma GCC visibility push(default)
/* BIONIC-BEGIN */
#define h_errno (*__get_h_errno())
int* __get_h_errno(void);
@@ -245,6 +247,7 @@ const char *gai_strerror(int);
void setnetgrent(const char *);
void setservent(int);
#pragma GCC visibility pop
__END_DECLS
#endif /* !_NETDB_H_ */