summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
authorPhilippe Theveny <philippe.theveny@laposte.net>2008-07-31 14:06:34 +0000
committerPhilippe Theveny <philippe.theveny@laposte.net>2008-07-31 14:06:34 +0000
commit4945e852badaef27dbf6e81ac0ebbc0d2331520f (patch)
treee8cd61cfe4e4e386184881cb8cb0383a4d8805e3 /tests/tmul.c
parent0d457c5c8eab77c6493cea70d7ed12d8f75ee57f (diff)
downloadmpc-git-4945e852badaef27dbf6e81ac0ebbc0d2331520f.tar.gz
Add void in empty prototype (remove warnings with gcc option '-Wold-style-definition'.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/trunk@166 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c6
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;