Merge "Remove #pragma GCC visibility."
This commit is contained in:
commit
9f326a2d60
|
@ -63,9 +63,6 @@
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <time.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
|
// Linux defines MAXHOSTNAMELEN as 64, while the domain name limit in
|
||||||
// RFC 1034 and RFC 1035 is 255 octets.
|
// RFC 1034 and RFC 1035 is 255 octets.
|
||||||
#ifdef MAXHOSTNAMELEN
|
#ifdef MAXHOSTNAMELEN
|
||||||
|
@ -547,6 +544,4 @@ int ns_name_labels(ns_nname_ct, size_t);
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
|
|
||||||
#endif /* !_RESOLV_PRIVATE_H_ */
|
#endif /* !_RESOLV_PRIVATE_H_ */
|
||||||
|
|
|
@ -56,7 +56,6 @@ _Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#pragma GCC visibility push(default)
|
|
||||||
|
|
||||||
/* 7.3.5 Trigonometric functions */
|
/* 7.3.5 Trigonometric functions */
|
||||||
/* 7.3.5.1 The cacos 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);
|
float crealf(float complex) __INTRODUCED_IN(23);
|
||||||
long double creall(long double complex) __INTRODUCED_IN(23);
|
long double creall(long double complex) __INTRODUCED_IN(23);
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* _COMPLEX_H */
|
#endif /* _COMPLEX_H */
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include <machine/fenv.h>
|
#include <machine/fenv.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#pragma GCC visibility push(default)
|
|
||||||
|
|
||||||
// fenv was always available on x86.
|
// fenv was always available on x86.
|
||||||
int feclearexcept(int) __INTRODUCED_IN_ARM(21) __INTRODUCED_IN_MIPS(21) __INTRODUCED_IN_X86(9);
|
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;
|
extern const fenv_t __fe_dfl_env;
|
||||||
#define FE_DFL_ENV (&__fe_dfl_env)
|
#define FE_DFL_ENV (&__fe_dfl_env)
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* ! _FENV_H_ */
|
#endif /* ! _FENV_H_ */
|
||||||
|
|
|
@ -193,7 +193,6 @@ struct addrinfo {
|
||||||
#define SCOPE_DELIMITER '%'
|
#define SCOPE_DELIMITER '%'
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#pragma GCC visibility push(default)
|
|
||||||
|
|
||||||
/* BIONIC-BEGIN */
|
/* BIONIC-BEGIN */
|
||||||
#define h_errno (*__get_h_errno())
|
#define h_errno (*__get_h_errno())
|
||||||
|
@ -225,7 +224,6 @@ void freeaddrinfo(struct addrinfo *);
|
||||||
const char *gai_strerror(int);
|
const char *gai_strerror(int);
|
||||||
void setservent(int);
|
void setservent(int);
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !_NETDB_H_ */
|
#endif /* !_NETDB_H_ */
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#pragma GCC visibility push(default)
|
|
||||||
|
|
||||||
#define b64_ntop __b64_ntop
|
#define b64_ntop __b64_ntop
|
||||||
int b64_ntop(u_char const*, size_t, char*, size_t);
|
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_query(const char*, int, int, u_char*, int);
|
||||||
int res_search(const char*, int, int, u_char*, int);
|
int res_search(const char*, int, int, u_char*, int);
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* _RESOLV_H_ */
|
#endif /* _RESOLV_H_ */
|
||||||
|
|
|
@ -200,8 +200,6 @@ __LIBC32_LEGACY_PUBLIC__ fpos_t __sseek(void *, fpos_t, int);
|
||||||
__LIBC32_LEGACY_PUBLIC__ int __sclose(void *);
|
__LIBC32_LEGACY_PUBLIC__ int __sclose(void *);
|
||||||
__LIBC32_LEGACY_PUBLIC__ int _fwalk(int (*)(FILE *));
|
__LIBC32_LEGACY_PUBLIC__ int _fwalk(int (*)(FILE *));
|
||||||
|
|
||||||
#pragma GCC visibility push(hidden)
|
|
||||||
|
|
||||||
off64_t __sseek64(void*, off64_t, int);
|
off64_t __sseek64(void*, off64_t, int);
|
||||||
int __sflush_locked(FILE *);
|
int __sflush_locked(FILE *);
|
||||||
int __swhatbuf(FILE *, size_t *, int *);
|
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.
|
extern void __sinit(void); // Not actually implemented.
|
||||||
#define __sdidinit 1
|
#define __sdidinit 1
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue