Rename hidden keyword to _Hide

This commit is contained in:
Justine Tunney 2022-11-08 11:39:50 -08:00
parent 251dcb07eb
commit bf7843833f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
112 changed files with 616 additions and 3290 deletions

View file

@ -40,8 +40,8 @@ COSMOPOLITAN_C_START_
(d) = asfloat(w); \
} while (0)
_Complex double __ldexp_cexp(_Complex double, int) hidden;
_Complex float __ldexp_cexpf(_Complex float, int) hidden;
_Complex double __ldexp_cexp(_Complex double, int) _Hide;
_Complex float __ldexp_cexpf(_Complex float, int) _Hide;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct exp2f_data {
extern _Hide const struct exp2f_data {
uint64_t tab[1 << EXP2F_TABLE_BITS];
double shift_scaled;
double poly[EXP2F_POLY_ORDER];

View file

@ -9,7 +9,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct exp_data {
extern _Hide const struct exp_data {
double invln2N;
double shift;
double negln2hiN;

View file

@ -51,16 +51,16 @@ static inline float fp_barrierf(float x) {
return y;
}
double __math_divzero(uint32_t) hidden;
double __math_invalid(double) hidden;
double __math_oflow(uint32_t) hidden;
double __math_uflow(uint32_t) hidden;
double __math_xflow(uint32_t, double) hidden;
float __math_divzerof(uint32_t) hidden;
float __math_invalidf(float) hidden;
float __math_oflowf(uint32_t) hidden;
float __math_uflowf(uint32_t) hidden;
float __math_xflowf(uint32_t, float) hidden;
double __math_divzero(uint32_t) _Hide;
double __math_invalid(double) _Hide;
double __math_oflow(uint32_t) _Hide;
double __math_uflow(uint32_t) _Hide;
double __math_xflow(uint32_t, double) _Hide;
float __math_divzerof(uint32_t) _Hide;
float __math_invalidf(float) _Hide;
float __math_oflowf(uint32_t) _Hide;
float __math_uflowf(uint32_t) _Hide;
float __math_xflowf(uint32_t, float) _Hide;
#define FORCE_EVAL(x) \
do { \

View file

@ -3,15 +3,15 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
double __cos(double, double) hidden;
double __sin(double, double, int) hidden;
double __tan(double, double, int) hidden;
float __cosdf(double) hidden;
float __sindf(double) hidden;
float __tandf(double, int) hidden;
int __rem_pio2(double, double *) hidden;
int __rem_pio2_large(double *, double *, int, int, int) hidden;
int __rem_pio2f(float, double *) hidden;
double __cos(double, double) _Hide;
double __sin(double, double, int) _Hide;
double __tan(double, double, int) _Hide;
float __cosdf(double) _Hide;
float __sindf(double) _Hide;
float __tandf(double, int) _Hide;
int __rem_pio2(double, double *) _Hide;
int __rem_pio2_large(double *, double *, int, int, int) _Hide;
int __rem_pio2f(float, double *) _Hide;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -8,7 +8,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct log2_data {
extern _Hide const struct log2_data {
double invln2hi;
double invln2lo;
double poly[LOG2_POLY_ORDER - 1];

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct log2f_data {
extern _Hide const struct log2f_data {
struct {
double invc, logc;
} tab[1 << LOG2F_TABLE_BITS];

View file

@ -8,7 +8,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct log_data {
extern _Hide const struct log_data {
double ln2hi;
double ln2lo;
double poly[LOG_POLY_ORDER - 1]; /* First coefficient is 1. */

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct pow_log_data {
extern _Hide const struct pow_log_data {
double ln2hi;
double ln2lo;
double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */

View file

@ -13,7 +13,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern hidden const struct powf_log2_data {
extern _Hide const struct powf_log2_data {
struct {
double invc, logc;
} tab[1 << POWF_LOG2_TABLE_BITS];