diff options
Diffstat (limited to 'newlib/libm/common/sf_nan.c')
-rw-r--r-- | newlib/libm/common/sf_nan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/common/sf_nan.c b/newlib/libm/common/sf_nan.c index c8d7027f8..831f3f79f 100644 --- a/newlib/libm/common/sf_nan.c +++ b/newlib/libm/common/sf_nan.c @@ -5,7 +5,7 @@ #include "fdlibm.h" - float nanf() + float nanf(const char *unused) { float x; @@ -15,9 +15,9 @@ #ifdef _DOUBLE_IS_32BITS - double nan() + double nan(const char *arg) { - return (double) nanf(); + return (double) nanf(arg); } #endif /* defined(_DOUBLE_IS_32BITS) */ |