summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-07-01 03:10:49 +0200
committerKevin Ryde <user42@zip.com.au>2001-07-01 03:10:49 +0200
commit2fb96caabe987a1d43a3827aac7a42f6ec5e9e58 (patch)
treef69a1e2397c71194b4214151511331b7f3e659c1
parentab23a61ce84fc542dcd3f3e43f29248cb4cdeb57 (diff)
downloadgmp-2fb96caabe987a1d43a3827aac7a42f6ec5e9e58.tar.gz
* assert.c: Add stdlib.h for abort prototype.
* tests/mpf/t-fits.c, t-get_d.c, t-get_si.c, t-int_p.c, t-misc.c, t-trunc.c: Ditto.
-rw-r--r--tests/mpf/t-fits.c7
-rw-r--r--tests/mpf/t-get_si.c7
-rw-r--r--tests/mpf/t-int_p.c7
-rw-r--r--tests/mpf/t-misc.c7
-rw-r--r--tests/mpf/t-trunc.c7
5 files changed, 15 insertions, 20 deletions
diff --git a/tests/mpf/t-fits.c b/tests/mpf/t-fits.c
index f1ecd7ed4..7490c7acf 100644
--- a/tests/mpf/t-fits.c
+++ b/tests/mpf/t-fits.c
@@ -1,6 +1,5 @@
-/* Test mpf_fits_*_p */
+/* Test mpf_fits_*_p
-/*
Copyright 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/mpf/t-get_si.c b/tests/mpf/t-get_si.c
index 9ea2c17ba..bc7947725 100644
--- a/tests/mpf/t-get_si.c
+++ b/tests/mpf/t-get_si.c
@@ -1,6 +1,5 @@
-/* Exercise mpz_get_si. */
+/* Exercise mpz_get_si.
-/*
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/mpf/t-int_p.c b/tests/mpf/t-int_p.c
index 2ca25b3b4..0c278a8cc 100644
--- a/tests/mpf/t-int_p.c
+++ b/tests/mpf/t-int_p.c
@@ -1,6 +1,5 @@
-/* Test mpf_integer_p */
+/* Test mpf_integer_p.
-/*
Copyright 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/mpf/t-misc.c b/tests/mpf/t-misc.c
index d9fdccf3a..d2abcc931 100644
--- a/tests/mpf/t-misc.c
+++ b/tests/mpf/t-misc.c
@@ -1,6 +1,5 @@
-/* Exercise various mpf functions. */
+/* Exercise various mpf functions.
-/*
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/mpf/t-trunc.c b/tests/mpf/t-trunc.c
index 9d377bc50..2da62b399 100644
--- a/tests/mpf/t-trunc.c
+++ b/tests/mpf/t-trunc.c
@@ -1,6 +1,5 @@
-/* Test mpf_trunc, mpf_ceil, mpf_floor */
+/* Test mpf_trunc, mpf_ceil, mpf_floor.
-/*
Copyright 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"