Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-07-09 21:52:31 +0400
committerAlexandre Oliva <aoliva@redhat.com>2003-07-09 21:52:31 +0400
commit03d65dd99ba593d2dab1a8151fa7766b650755ac (patch)
treea5694d92c663d4d6ab36f0334bcea7ba0032fbf9 /newlib/libc/include/math.h
parent4d782b426a09120642906e12e21bf669b7bb77db (diff)
* libc/include/math.h (nan, nanf): Update prototype to C99.
* libm/common/s_nan.c (nan): Likewise. * libm/common/s_nanf.c (nanf, nan): Likewise. * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r--newlib/libc/include/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 16098c66c..1be7511dc 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -119,7 +119,7 @@ extern int __fpclassifyd (double x);
/* Non ANSI double precision functions. */
extern double infinity _PARAMS((void));
-extern double nan _PARAMS((void));
+extern double nan _PARAMS((const char *));
extern int isnan _PARAMS((double));
extern int isinf _PARAMS((double));
extern int finite _PARAMS((double));
@@ -234,7 +234,7 @@ extern float fminf _PARAMS((float, float));
extern float fmaf _PARAMS((float, float, float));
extern float infinityf _PARAMS((void));
-extern float nanf _PARAMS((void));
+extern float nanf _PARAMS((const char *));
extern int isnanf _PARAMS((float));
extern int isinff _PARAMS((float));
extern int finitef _PARAMS((float));