diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2013-12-05 10:18:21 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2013-12-05 10:18:21 +0000 |
commit | 7fffbe10bca97f2b25744077329d7c2e70e4d190 (patch) | |
tree | ca50ad9a9de7a87316c2c22e6a0090f526a983dc | |
parent | b254f03b21b85d9fb424e22bcd27c36c6bd1f8a1 (diff) | |
download | mpc-7fffbe10bca97f2b25744077329d7c2e70e4d190.tar.gz |
[tests/] Fix some function prototypes, and include correct file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/benchs_tests@1393 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | tests/mpfr_flags.c | 4 | ||||
-rw-r--r-- | tests/tpl_mpfr.c | 2 | ||||
-rw-r--r-- | tests/tpow_z.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/tests/mpfr_flags.c b/tests/mpfr_flags.c index 1ab7b37..1f82063 100644 --- a/tests/mpfr_flags.c +++ b/tests/mpfr_flags.c @@ -18,9 +18,7 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/ . */ -#include <stdio.h> -#include <stdlib.h> -#include <mpfr.h> +#include "mpc-tests.h" /* set MPFR flags to random values */ void diff --git a/tests/tpl_mpfr.c b/tests/tpl_mpfr.c index f1a8ee7..d5329ec 100644 --- a/tests/tpl_mpfr.c +++ b/tests/tpl_mpfr.c @@ -20,7 +20,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . #include "mpc-tests.h" -mpfr_prec_t +static mpfr_prec_t tpl_read_mpfr_prec (mpc_datafile_context_t* datafile_context) { unsigned long prec; diff --git a/tests/tpow_z.c b/tests/tpow_z.c index f940bca..9d1e9c6 100644 --- a/tests/tpow_z.c +++ b/tests/tpow_z.c @@ -22,7 +22,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . #include "mpc-tests.h" static void -test_large () +test_large (void) { mpc_t z; mpz_t t; |