[Gmp-commit] /home/hgfiles/gmp: #include <stdlib.h> in invertappr.c

mercurial at gmplib.org mercurial at gmplib.org
Tue Dec 29 09:32:38 CET 2009


details:   /home/hgfiles/gmp/rev/9bff42a9792b
changeset: 13254:9bff42a9792b
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Tue Dec 29 09:32:32 2009 +0100
description:
#include <stdlib.h> in invertappr.c

diffstat:

 mpn/generic/invertappr.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 415926f3d24f -r 9bff42a9792b mpn/generic/invertappr.c
--- a/mpn/generic/invertappr.c	Tue Dec 29 01:43:59 2009 +0100
+++ b/mpn/generic/invertappr.c	Tue Dec 29 09:32:32 2009 +0100
@@ -29,6 +29,10 @@
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
 
+/* FIXME: Remove NULL and TMP_*, as soon as all the callers properly
+   allocate and pass the scratch to the function. */
+#include <stdlib.h>		/* for NULL */
+
 #include "gmp.h"
 #include "gmp-impl.h"
 #include "longlong.h"


More information about the gmp-commit mailing list