summaryrefslogtreecommitdiff
path: root/tests/mpz
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-06-29 01:12:03 +0200
committerKevin Ryde <user42@zip.com.au>2001-06-29 01:12:03 +0200
commitdae5b38322eda0a8fde5ea56428c80a88a82324e (patch)
tree56fee6b56788a7f441808fba88a9b852d0accd1f /tests/mpz
parent70cb93e00322c6cdae36b7eb264b4aea1cda046f (diff)
downloadgmp-dae5b38322eda0a8fde5ea56428c80a88a82324e.tar.gz
* assert.c: Add stdlib.h for abort prototype.
* tests/mpz/t-bin.c, t-cmp.c, t-fac_ui.c, t-get_si.c, t-misc.c, t-popcount.c, t-set_str.c, t-sizeinbase.c: Ditto.
Diffstat (limited to 'tests/mpz')
-rw-r--r--tests/mpz/t-bin.c7
-rw-r--r--tests/mpz/t-cmp.c4
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/mpz/t-bin.c b/tests/mpz/t-bin.c
index ee21f6120..279db3cc9 100644
--- a/tests/mpz/t-bin.c
+++ b/tests/mpz/t-bin.c
@@ -1,6 +1,5 @@
-/* Exercise mpz_bin_ui and mpz_bin_uiui. */
+/* Exercise mpz_bin_ui and mpz_bin_uiui.
-/*
Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -18,10 +17,10 @@ License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA.
-*/
+MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include "gmp.h"
#include "gmp-impl.h"
#include "tests.h"
diff --git a/tests/mpz/t-cmp.c b/tests/mpz/t-cmp.c
index f887240ab..14c4aab2a 100644
--- a/tests/mpz/t-cmp.c
+++ b/tests/mpz/t-cmp.c
@@ -17,10 +17,10 @@ License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA.
-*/
+MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include "gmp.h"
#include "gmp-impl.h"
#include "tests.h"