summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-28 23:58:42 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-28 23:58:42 +0200
commit00befba16c51a293dd94802e35f9f659070f2127 (patch)
treedc7691538e72f7f43bcbb921598c25988e90e4fd
parent3254eb358bc06da0f6d423b9fbaf8ec786e039f6 (diff)
downloadgmp-00befba16c51a293dd94802e35f9f659070f2127.tar.gz
Use <stdio.h> for NULL.
-rw-r--r--mpz/gcd_ui.c3
-rw-r--r--mpz/gcdext.c5
-rw-r--r--mpz/mul.c1
-rw-r--r--mpz/sqrt.c1
-rw-r--r--mpz/sqrtrem.c1
5 files changed, 8 insertions, 3 deletions
diff --git a/mpz/gcd_ui.c b/mpz/gcd_ui.c
index 24c47ee47..a1cab526f 100644
--- a/mpz/gcd_ui.c
+++ b/mpz/gcd_ui.c
@@ -1,6 +1,6 @@
/* mpz_gcd_ui -- Calculate the greatest common divisior of two integers.
-Copyright (C) 1994, 1996, 1999 Free Software Foundation, Inc.
+Copyright (C) 1994, 1996, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -19,6 +19,7 @@ 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. */
+#include <stdio.h> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
diff --git a/mpz/gcdext.c b/mpz/gcdext.c
index 2632dac09..2849aca9f 100644
--- a/mpz/gcdext.c
+++ b/mpz/gcdext.c
@@ -1,8 +1,8 @@
/* mpz_gcdext(g, s, t, a, b) -- Set G to gcd(a, b), and S and T such that
g = as + bt.
-Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997 Free Software Foundation,
-Inc.
+Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997, 2000 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,6 +21,7 @@ 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. */
+#include <stdio.h> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
diff --git a/mpz/mul.c b/mpz/mul.c
index 47ce8e354..89e194d6d 100644
--- a/mpz/mul.c
+++ b/mpz/mul.c
@@ -19,6 +19,7 @@ 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. */
+#include <stdio.h> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
diff --git a/mpz/sqrt.c b/mpz/sqrt.c
index e10dd9e5e..d4315be3c 100644
--- a/mpz/sqrt.c
+++ b/mpz/sqrt.c
@@ -19,6 +19,7 @@ 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. */
+#include <stdio.h> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
diff --git a/mpz/sqrtrem.c b/mpz/sqrtrem.c
index 15fcfb5c7..2627b7464 100644
--- a/mpz/sqrtrem.c
+++ b/mpz/sqrtrem.c
@@ -20,6 +20,7 @@ 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. */
+#include <stdio.h> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"