aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-04 08:37:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-04 08:37:38 +0000
commit767b6275d7bf9096e3f52348401632e1e58d4896 (patch)
tree90d5020efe471f708220a132870a47c7d562a9c4 /math
parent09881ccc3250a2fe1b55b99f8d432efc8cb7b523 (diff)
downloadglibc-767b6275d7bf9096e3f52348401632e1e58d4896.tar
glibc-767b6275d7bf9096e3f52348401632e1e58d4896.tar.gz
glibc-767b6275d7bf9096e3f52348401632e1e58d4896.tar.bz2
glibc-767b6275d7bf9096e3f52348401632e1e58d4896.zip
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. * sysdeps/arm/fpu/bits/mathdef.h: Likewise * sysdeps/generic/bits/mathdef.h: Likewise * sysdeps/i386/fpu/bits/mathdef.h: Likewise * sysdeps/ia64/fpu/bits/mathdef.h: Likewise * sysdeps/m68k/fpu/bits/mathdef.h: Likewise * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise * sysdeps/sparc/fpu/bits/mathdef.h: Likewise * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise * math/test-fenv.c (main): Use return instead of exit to avoid warning. * math/atest-exp.c: Mark local functions as static to avoid warnings. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise.
Diffstat (limited to 'math')
-rw-r--r--math/atest-exp.c6
-rw-r--r--math/atest-exp2.c10
-rw-r--r--math/atest-sincos.c6
-rw-r--r--math/test-fenv.c2
4 files changed, 12 insertions, 12 deletions
diff --git a/math/atest-exp.c b/math/atest-exp.c
index fcb4e0cd16..677d19239f 100644
--- a/math/atest-exp.c
+++ b/math/atest-exp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
@@ -40,7 +40,7 @@ static const char exp1[102] = "2" /* point */
"84d9045190cfef324e7738926cfbe5f4bf8d8d8c31d763da07";
static const char hexdig[] = "0123456789abcdef";
-void
+static void
print_mpn_hex (const mp_limb_t *x, unsigned size)
{
char value[size + 1];
@@ -56,7 +56,7 @@ print_mpn_hex (const mp_limb_t *x, unsigned size)
fputs (value, stdout);
}
-void
+static void
exp_mpn (mp1 ex, mp1 x)
{
unsigned n;
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index 9bea07a391..6a17039ecd 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
@@ -45,7 +45,7 @@ static const char exp_m1[102] = "0" /* point */
static const char hexdig[] = "0123456789abcdef";
-void
+static void
print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base)
{
unsigned int i;
@@ -66,7 +66,7 @@ print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base)
}
}
-void
+static void
read_mpn_hex(mp_limb_t *x, const char *str)
{
int i;
@@ -96,7 +96,7 @@ get_log2(void)
}
/* Compute e^x. */
-void
+static void
exp_mpn (mp1 ex, mp1 x)
{
unsigned int n;
@@ -130,7 +130,7 @@ exp_mpn (mp1 ex, mp1 x)
}
/* Calculate 2^x. */
-void
+static void
exp2_mpn (mp1 ex, mp1 x)
{
mp2 tmp;
diff --git a/math/atest-sincos.c b/math/atest-sincos.c
index 9fd474a2b2..b07dea393e 100644
--- a/math/atest-sincos.c
+++ b/math/atest-sincos.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
@@ -43,7 +43,7 @@ static const char cos1[101] =
"300240b760e6fa96a94430a52d0e9e43f3450e3b8ff99bc934";
static const char hexdig[] = "0123456789abcdef";
-void
+static void
print_mpn_hex (const mp_limb_t *x, unsigned size)
{
char value[size + 1];
@@ -59,7 +59,7 @@ print_mpn_hex (const mp_limb_t *x, unsigned size)
fputs (value, stdout);
}
-void
+static void
sincosx_mpn (mp1 si, mp1 co, mp1 xx, mp1 ix)
{
int i;
diff --git a/math/test-fenv.c b/math/test-fenv.c
index c369fc0aaa..520a7a182f 100644
--- a/math/test-fenv.c
+++ b/math/test-fenv.c
@@ -657,5 +657,5 @@ main (void)
exit (1);
}
printf ("\n All tests passed successfully.\n");
- exit (0);
+ return 0;
}