diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-07-31 14:06:34 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-07-31 14:06:34 +0000 |
commit | db7a20d6421aacaae52fcda06352901ffe04586d (patch) | |
tree | e8cd61cfe4e4e386184881cb8cb0383a4d8805e3 /tests/tsinh.c | |
parent | 108a70cc7c599d8a16d948ffc140a3db3ad76757 (diff) | |
download | mpc-db7a20d6421aacaae52fcda06352901ffe04586d.tar.gz |
Add void in empty prototype (remove warnings with gcc option '-Wold-style-definition'.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@166 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tsinh.c')
-rw-r--r-- | tests/tsinh.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tsinh.c b/tests/tsinh.c index 838b208..5c146be 100644 --- a/tests/tsinh.c +++ b/tests/tsinh.c @@ -43,7 +43,7 @@ test_failed (mpc_t op, mpc_t get, mpc_t expected) /* check special values as defined in C99 standard */ static void -special () +special (void) { mpc_t z; mpc_t s; @@ -286,7 +286,7 @@ special () } static void -pure_real_argument () +pure_real_argument (void) { /* sinh(x -i*0) = sinh(x) -i*0 */ /* sinh(x +i*0) = sinh(x) +i*0 */ @@ -333,7 +333,7 @@ pure_real_argument () } static void -pure_imaginary_argument () +pure_imaginary_argument (void) { /* sinh(-0 +i*y) = -0*cos(y) +i*sin(y) */ /* sinh(+0 +i*y) = +0*cos(y) +i*sin(y) */ @@ -408,7 +408,7 @@ pure_imaginary_argument () } static void -check_53bits () +check_53bits (void) { mpc_t z; mpc_t sinh_z; @@ -433,7 +433,7 @@ check_53bits () } int -main () +main (void) { test_start (); |