diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-01-24 19:08:07 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-01-24 19:08:07 +0000 |
commit | 8d9644bdd7b4374d2a1473713671df5c62b685f2 (patch) | |
tree | 7f7e383929120df91d51a7feb6abaab638ab2822 /tests/tsub.c | |
parent | 282a0c536ba6657ed769d220e67f1ba99b9c616d (diff) | |
download | mpfr-8d9644bdd7b4374d2a1473713671df5c62b685f2.tar.gz |
Prototypes: use static. Some code reformatting.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2224 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsub.c')
-rw-r--r-- | tests/tsub.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/tsub.c b/tests/tsub.c index 8ecf858ea..27b0acafb 100644 --- a/tests/tsub.c +++ b/tests/tsub.c @@ -26,12 +26,7 @@ MA 02111-1307, USA. */ #include "mpfr-impl.h" #include "mpfr-test.h" -void check_diverse _PROTO((void)); -void bug_ddefour _PROTO((void)); -void check_two_sum _PROTO((mp_prec_t)); -void check_inexact _PROTO((void)); - -void +static void check_diverse (void) { mpfr_t x, y, z; @@ -252,7 +247,7 @@ check_diverse (void) mpfr_clear (z); } -void +static void bug_ddefour(void) { mpfr_t ex, ex1, ex2, ex3, tot, tot1; @@ -289,7 +284,7 @@ bug_ddefour(void) } /* if u = o(x-y), v = o(u-x), w = o(v+y), then x-y = u-w */ -void +static void check_two_sum (mp_prec_t p) { mpfr_t x, y, u, v, w; @@ -334,7 +329,7 @@ check_two_sum (mp_prec_t p) #define MAX_PREC 100 -void +static void check_inexact (void) { mpfr_t x, y, z, u; |