Browse Source

mod to remove declarations in math.h

ceriel 36 years ago
parent
commit
9d607caeca

+ 1 - 0
lang/basic/lib/atn.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 double

+ 1 - 0
lang/basic/lib/exp.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 static double

+ 1 - 0
lang/basic/lib/log.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 double

+ 1 - 0
lang/basic/lib/sin.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 static double

+ 1 - 0
lang/basic/lib/sqt.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 #define NITER	5

+ 2 - 2
lang/pc/libpc/atn.c

@@ -6,7 +6,7 @@
  */
 
 /* $Header$ */
-
+#define __NO_DEFS
 #include <math.h>
 
 double
@@ -91,7 +91,7 @@ _atn(x)
 	while (x > pr->X) pr++;
 	if (pr != prec) {
 		x = pr->arctan +
-			atan(pr->one_o_x - pr->one_o_xsq_p_1/(pr->one_o_x + x));
+			_atn(pr->one_o_x - pr->one_o_xsq_p_1/(pr->one_o_x + x));
 	}
 	else {
 		double xsq = x*x;

+ 1 - 1
lang/pc/libpc/exp.c

@@ -6,7 +6,7 @@
  */
 
 /* $Header$ */
-
+#define __NO_DEFS
 #include <math.h>
 #include <pc_err.h>
 extern	_trp();

+ 1 - 1
lang/pc/libpc/log.c

@@ -6,7 +6,7 @@
  */
 
 /* $Header$ */
-
+#define __NO_DEFS
 #include <math.h>
 #include <pc_err.h>
 extern	_trp();

+ 1 - 0
lang/pc/libpc/sin.c

@@ -7,6 +7,7 @@
 
 /* $Header$ */
 
+#define __NO_DEFS
 #include <math.h>
 
 static double

+ 1 - 1
lang/pc/libpc/sqt.c

@@ -6,7 +6,7 @@
  */
 
 /* $Header$ */
-
+#define __NO_DEFS
 #include <math.h>
 #include <pc_err.h>
 extern	_trp();