Merge "Use default hidden visibility to build libc_dns."
This commit is contained in:
@@ -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_ */
|
||||
|
||||
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user