Merge "Remove #pragma GCC visibility."

This commit is contained in:
Treehugger Robot 2016-07-25 23:48:07 +00:00 committed by Gerrit Code Review
commit 9f326a2d60
6 changed files with 0 additions and 17 deletions

View file

@ -63,9 +63,6 @@
#include <net/if.h>
#include <time.h>
/* Despite this file's name, it's part of libresolv. On Android, that means it's part of libc :-( */
#pragma GCC visibility push(default)
// Linux defines MAXHOSTNAMELEN as 64, while the domain name limit in
// RFC 1034 and RFC 1035 is 255 octets.
#ifdef MAXHOSTNAMELEN
@ -547,6 +544,4 @@ int ns_name_labels(ns_nname_ct, size_t);
__END_DECLS
#pragma GCC visibility pop
#endif /* !_RESOLV_PRIVATE_H_ */

View file

@ -56,7 +56,6 @@ _Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
#endif
__BEGIN_DECLS
#pragma GCC visibility push(default)
/* 7.3.5 Trigonometric functions */
/* 7.3.5.1 The cacos functions */
@ -156,7 +155,6 @@ double creal(double complex) __INTRODUCED_IN(23);
float crealf(float complex) __INTRODUCED_IN(23);
long double creall(long double complex) __INTRODUCED_IN(23);
#pragma GCC visibility pop
__END_DECLS
#endif /* _COMPLEX_H */

View file

@ -34,7 +34,6 @@
#include <machine/fenv.h>
__BEGIN_DECLS
#pragma GCC visibility push(default)
// fenv was always available on x86.
int feclearexcept(int) __INTRODUCED_IN_ARM(21) __INTRODUCED_IN_MIPS(21) __INTRODUCED_IN_X86(9);
@ -69,7 +68,6 @@ int fegetexcept(void) __INTRODUCED_IN_ARM(21) __INTRODUCED_IN_MIPS(21) __INTRODU
extern const fenv_t __fe_dfl_env;
#define FE_DFL_ENV (&__fe_dfl_env)
#pragma GCC visibility pop
__END_DECLS
#endif /* ! _FENV_H_ */

View file

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

View file

@ -38,7 +38,6 @@
#include <netinet/in.h>
__BEGIN_DECLS
#pragma GCC visibility push(default)
#define b64_ntop __b64_ntop
int b64_ntop(u_char const*, size_t, char*, size_t);
@ -60,7 +59,6 @@ int res_mkquery(int, const char*, int, int, const u_char*, int, const u_char*, u
int res_query(const char*, int, int, u_char*, int);
int res_search(const char*, int, int, u_char*, int);
#pragma GCC visibility pop
__END_DECLS
#endif /* _RESOLV_H_ */

View file

@ -200,8 +200,6 @@ __LIBC32_LEGACY_PUBLIC__ fpos_t __sseek(void *, fpos_t, int);
__LIBC32_LEGACY_PUBLIC__ int __sclose(void *);
__LIBC32_LEGACY_PUBLIC__ int _fwalk(int (*)(FILE *));
#pragma GCC visibility push(hidden)
off64_t __sseek64(void*, off64_t, int);
int __sflush_locked(FILE *);
int __swhatbuf(FILE *, size_t *, int *);
@ -271,8 +269,6 @@ wint_t __fputwc_unlock(wchar_t wc, FILE *fp);
extern void __sinit(void); // Not actually implemented.
#define __sdidinit 1
#pragma GCC visibility pop
__END_DECLS
#endif