[Marble-commits] KDE/kdeedu/marble/src/lib

Eckhart Wörner ewoerner at kde.org
Mon Aug 10 15:26:03 CEST 2009


SVN commit 1009613 by ewoerner:

stdlib.h -> cstdlib, and abs(int) is in cstdlib, not in cmath


 M  +1 -1      GeoPolygon.cpp  
 M  +1 -1      LatLonEdit.cpp  
 M  +1 -1      VectorMap.cpp  
 M  +1 -1      geodata/GeoDataTest.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/GeoPolygon.cpp #1009612:1009613
@@ -12,7 +12,7 @@
 
 #include "GeoPolygon.h"
 
-#include <stdlib.h>
+#include <cstdlib>
 #include <fcntl.h>
 #include <cmath>
 using std::fabs;
--- trunk/KDE/kdeedu/marble/src/lib/LatLonEdit.cpp #1009612:1009613
@@ -23,7 +23,7 @@
 #include <QtGui/QWidget>
 #include <QtCore/QDebug>
 
-#include <cmath>
+#include <cstdlib>
 
 #include "global.h"
 
--- trunk/KDE/kdeedu/marble/src/lib/VectorMap.cpp #1009612:1009613
@@ -13,7 +13,7 @@
 #include "VectorMap.h"
 
 #include <cmath>
-#include <stdlib.h>
+#include <cstdlib>
 
 #include <QtCore/QVector>
 #include <QtCore/QDebug>
--- trunk/KDE/kdeedu/marble/src/lib/geodata/GeoDataTest.cpp #1009612:1009613
@@ -42,7 +42,7 @@
 
 #ifdef Q_OS_WIN
 #include <stdio.h>
-#include <stdlib.h>
+#include <cstdlib>
 
 void myMessageOutput(QtMsgType type, const char *msg)
 {


More information about the Marble-commits mailing list