[Scipy-svn] r3011 - trunk/Lib/special/cephes
scipy-svn at scipy.org
scipy-svn at scipy.org
Wed May 16 13:13:25 EDT 2007
Author: cookedm
Date: 2007-05-16 12:13:23 -0500 (Wed, 16 May 2007)
New Revision: 3011
Modified:
trunk/Lib/special/cephes/polmisc.c
trunk/Lib/special/cephes/polyn.c
Log:
Lib/special: fix up includes
Modified: trunk/Lib/special/cephes/polmisc.c
===================================================================
--- trunk/Lib/special/cephes/polmisc.c 2007-05-16 17:12:16 UTC (rev 3010)
+++ trunk/Lib/special/cephes/polmisc.c 2007-05-16 17:13:23 UTC (rev 3011)
@@ -4,9 +4,7 @@
*/
#include <stdio.h>
-#ifndef __APPLE__
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#include "mconf.h"
#ifndef ANSIPROT
double atan2(), sqrt(), fabs(), sin(), cos();
Modified: trunk/Lib/special/cephes/polyn.c
===================================================================
--- trunk/Lib/special/cephes/polyn.c 2007-05-16 17:12:16 UTC (rev 3010)
+++ trunk/Lib/special/cephes/polyn.c 2007-05-16 17:13:23 UTC (rev 3011)
@@ -60,14 +60,8 @@
*/
#include <stdio.h>
-void exit(int);
-#ifndef NULL
-#define NULL 0
-#endif
+#include <stdlib.h>
#include "mconf.h"
-#ifndef __APPLE__
-#include <malloc.h>
-#endif
/* near pointer version of malloc() */
/*
More information about the Scipy-svn
mailing list