summaryrefslogtreecommitdiff
path: root/tests/tcosh.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-07-31 14:06:34 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-07-31 14:06:34 +0000
commitdb7a20d6421aacaae52fcda06352901ffe04586d (patch)
treee8cd61cfe4e4e386184881cb8cb0383a4d8805e3 /tests/tcosh.c
parent108a70cc7c599d8a16d948ffc140a3db3ad76757 (diff)
downloadmpc-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/tcosh.c')
-rw-r--r--tests/tcosh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tcosh.c b/tests/tcosh.c
index 008b83d..4227788 100644
--- a/tests/tcosh.c
+++ b/tests/tcosh.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 c;
@@ -523,7 +523,7 @@ special ()
}
static void
-pure_real_argument ()
+pure_real_argument (void)
{
/* cosh(x -i*0) = cosh(x) +i*0 if x<0 */
/* cosh(x -i*0) = cosh(x) -i*0 if x>0 */
@@ -571,7 +571,7 @@ pure_real_argument ()
}
static void
-pure_imaginary_argument ()
+pure_imaginary_argument (void)
{
/* cosh(+0 +i*y) = cos y +i*0*sin y */
/* cosh(-0 +i*y) = cos y -i*0*sin y */
@@ -617,7 +617,7 @@ pure_imaginary_argument ()
}
static void
-check_53()
+check_53 (void)
{
mpc_t z;
mpc_t cosh_z;
@@ -642,7 +642,7 @@ check_53()
}
int
-main()
+main (void)
{
test_start ();