changeset 1367:9f9131a8d706

[project @ 1995-09-06 00:07:03 by jwe]
author jwe
date Wed, 06 Sep 1995 00:07:03 +0000
parents f75432dff006
children 33bb7975f866
files libcruft/misc/lo-error.cc liboctave/Array.cc liboctave/CMatrix.cc liboctave/CmplxDET.cc liboctave/CmplxQRP.cc liboctave/LSODE.cc liboctave/NLEqn.cc liboctave/NPSOL.cc liboctave/QLD.cc liboctave/QPSOL.cc liboctave/Quad.cc liboctave/Range.cc liboctave/dMatrix.cc liboctave/dbleDET.cc liboctave/dbleGEPBAL.cc liboctave/dbleQRP.cc liboctave/sun-utils.cc liboctave/utils.cc
diffstat 18 files changed, 55 insertions(+), 44 deletions(-) [+]
line wrap: on
line diff
--- a/libcruft/misc/lo-error.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/libcruft/misc/lo-error.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -25,9 +25,9 @@
 #include <config.h>
 #endif
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
+#include <cstdarg>
+#include <cstdio>
+#include <cstdlib>
 
 #include "lo-error.h"
 
--- a/liboctave/Array.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/Array.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,7 +29,7 @@
 #include <config.h>
 #endif
 
-#include <assert.h>
+#include <cassert>
 
 #include "Array.h"
 
--- a/liboctave/CMatrix.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/CMatrix.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,18 +29,20 @@
 #include <config.h>
 #endif
 
-#include <sys/types.h>
+#include <cfloat>
+
 #include <iostream.h>
-#include <float.h>
+
+#include <sys/types.h> // XXX FIXME XXX
 
 #include <Complex.h>
 
-#include "mx-base.h"
 #include "CmplxDET.h"
 #include "CmplxSVD.h"
-#include "mx-inlines.cc"
+#include "f77-uscore.h"
 #include "lo-error.h"
-#include "f77-uscore.h"
+#include "mx-base.h"
+#include "mx-inlines.cc"
 
 // Fortran functions we call.
 
--- a/liboctave/CmplxDET.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/CmplxDET.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,8 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
+#include <cfloat>
+#include <cmath>
 
 #include <Complex.h>
 
--- a/liboctave/CmplxQRP.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/CmplxQRP.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,12 +29,12 @@
 #include <config.h>
 #endif
 
-#include <assert.h>
+#include <cassert>
 
 #include "CmplxQRP.h"
-#include "mx-inlines.cc"
+#include "f77-uscore.h"
 #include "lo-error.h"
-#include "f77-uscore.h"
+#include "mx-inlines.cc"
 
 extern "C"
 {
--- a/liboctave/LSODE.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/LSODE.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,9 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
+#include <cfloat>
+#include <cmath>
+
 #include <iostream.h>
 
 #include "ODE.h"
--- a/liboctave/NLEqn.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/NLEqn.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,8 @@
 #include <config.h>
 #endif
 
-#include <float.h>
-#include <math.h>
+#include <cfloat>
+#include <cmath>
 
 #include "NLEqn.h"
 #include "dMatrix.h"
--- a/liboctave/NPSOL.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/NPSOL.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,9 +29,10 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
-#include <string.h>
+#include <cfloat>
+#include <cmath>
+#include <cstring>
+
 #include <strstream.h>
 
 #ifndef NPSOL_MISSING
--- a/liboctave/QLD.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/QLD.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,13 +29,14 @@
 #include <config.h>
 #endif
 
-#include <math.h>
+#include <cmath>
+
 #include <iostream.h>
 
-#include "dMatrix.h"
+#include "QLD.h"
 #include "dColVector.h"
+#include "dMatrix.h"
 #include "dRowVector.h"
-#include "QLD.h"
 #include "f77-uscore.h"
 
 extern "C"
--- a/liboctave/QPSOL.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/QPSOL.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,8 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
+#include <cfloat>
+#include <cmath>
 
 #ifndef QPSOL_MISSING
 
--- a/liboctave/Quad.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/Quad.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,8 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
+#include <cfloat>
+#include <cmath>
 
 #include "Quad.h"
 #include "f77-uscore.h"
--- a/liboctave/Range.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/Range.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,9 @@
 #include <config.h>
 #endif
 
+#include <climits>
+
 #include <iostream.h>
-#include <limits.h>
 
 #include "Range.h"
 #include "dMatrix.h"
--- a/liboctave/dMatrix.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/dMatrix.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,19 +29,21 @@
 #include <config.h>
 #endif
 
-#include <sys/types.h>
+#include <cfloat>
+#include <cstdio>
+
 #include <iostream.h>
-#include <stdio.h>
-#include <float.h>
+
+#include <sys/types.h> // XXX FIXME XXX
 
 #include <Complex.h>
 
-#include "mx-base.h"
 #include "dbleDET.h"
 #include "dbleSVD.h"
-#include "mx-inlines.cc"
+#include "f77-uscore.h"
 #include "lo-error.h"
-#include "f77-uscore.h"
+#include "mx-base.h"
+#include "mx-inlines.cc"
 
 // Fortran functions we call.
 
--- a/liboctave/dbleDET.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/dbleDET.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,8 +29,8 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-#include <float.h>
+#include <cfloat>
+#include <cmath>
 
 #include "dbleDET.h"
 
--- a/liboctave/dbleGEPBAL.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/dbleGEPBAL.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,7 +29,7 @@
 #include <config.h>
 #endif
 
-#include <math.h>
+#include <cmath>
 
 #include "dbleGEPBAL.h"
 #include "f77-uscore.h"
--- a/liboctave/dbleQRP.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/dbleQRP.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -29,12 +29,12 @@
 #include <config.h>
 #endif
 
-#include <assert.h>
+#include <cassert>
 
 #include "dbleQRP.h"
-#include "mx-inlines.cc"
+#include "f77-uscore.h"
 #include "lo-error.h"
-#include "f77-uscore.h"
+#include "mx-inlines.cc"
 
 extern "C"
 {
--- a/liboctave/sun-utils.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/sun-utils.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -23,7 +23,7 @@
 
 #ifdef sun
 
-#include <assert.h>
+#include <cassert>
 
 // I think that this is really only needed if linking to Fortran
 // compiled libraries on a Sun.  It should never be called.
--- a/liboctave/utils.cc	Tue Sep 05 23:57:42 1995 +0000
+++ b/liboctave/utils.cc	Wed Sep 06 00:07:03 1995 +0000
@@ -25,10 +25,13 @@
 #include <config.h>
 #endif
 
+#include <csignal>
+#include <cstdlib>
+
+#ifdef HAVE_UNISTD_H
 #include <sys/types.h>
 #include <unistd.h>
-#include <signal.h>
-#include <stdlib.h>
+#endif
 
 #include "f77-uscore.h"