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/tmul.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/tmul.c')
-rw-r--r-- | tests/tmul.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tmul.c b/tests/tmul.c index 7f5b745..a2aac2a 100644 --- a/tests/tmul.c +++ b/tests/tmul.c @@ -319,7 +319,7 @@ testmul (long a, long b, long c, long d, mp_prec_t prec, mpc_rnd_t rnd) void -special () +special (void) { mpc_t x, y, z, t; int inexact; @@ -355,7 +355,7 @@ special () #ifdef TIMING void -timemul () +timemul (void) { /* measures the time needed with different precisions for naive and */ /* Karatsuba multiplication */ @@ -401,7 +401,7 @@ timemul () #endif int -main() +main (void) { mpc_t x, y; mpc_rnd_t rnd_re, rnd_im; |