diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/include/bsd/float.h | 18 | ||||
-rw-r--r-- | system/lib/libc.symbols | 2 | ||||
-rw-r--r-- | system/lib/libc/gen/warn.c | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/system/include/bsd/float.h b/system/include/bsd/float.h index 7020cf9a..383e637c 100644 --- a/system/include/bsd/float.h +++ b/system/include/bsd/float.h @@ -73,15 +73,15 @@ __END_DECLS #define DBL_MAX 1.7976931348623157E+308 #define DBL_MAX_10_EXP 308 -#define LDBL_MANT_DIG 64 -#define LDBL_EPSILON 1.08420217248550443401e-19L -#define LDBL_DIG 18 -#define LDBL_MIN_EXP (-16381) -#define LDBL_MIN 3.36210314311209350626e-4932L -#define LDBL_MIN_10_EXP (-4931) -#define LDBL_MAX_EXP 16384 -#define LDBL_MAX 1.18973149535723176502e+4932L -#define LDBL_MAX_10_EXP 4932 +#define LDBL_MANT_DIG DBL_MANT_DIG +#define LDBL_EPSILON DBL_EPSILON +#define LDBL_DIG DBL_DIG +#define LDBL_MIN_EXP DBL_MIN_EXP +#define LDBL_MIN DBL_MIN +#define LDBL_MIN_10_EXP DBL_MIN_10_EXP +#define LDBL_MAX_EXP DBL_MAX_EXP +#define LDBL_MAX DBL_MAX +#define LDBL_MAX_10_EXP DBL_MAX_10_EXP #if __ISO_C_VISIBLE >= 1999 #define DECIMAL_DIG 21 diff --git a/system/lib/libc.symbols b/system/lib/libc.symbols index 70b21024..561f01c1 100644 --- a/system/lib/libc.symbols +++ b/system/lib/libc.symbols @@ -77,5 +77,5 @@ W verrx W vwarn W vwarnx - W warn1 + W warn W warnx diff --git a/system/lib/libc/gen/warn.c b/system/lib/libc/gen/warn.c index c0803ab9..c0dd2cd7 100644 --- a/system/lib/libc/gen/warn.c +++ b/system/lib/libc/gen/warn.c @@ -46,4 +46,4 @@ _warn(const char *fmt, ...) /* PRINTFLIKE1 */ void -warn(const char *fmt, ...) __attribute__((weak, alias("warn"))); +warn(const char *fmt, ...) __attribute__((weak, alias("_warn"))); |