aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
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;
}