[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Thu Jun 11 09:14:52 CEST 2009


SVN commit 980109 by asimha:

+ Removing home-made byteswap.h

+ Using standard C-library byteswap.h instead

CCMAIL: kstars-devel at kde.org



 M  +1 -1      binfilehelper.cpp  
 D             byteswap.h  
 M  +1 -1      data/tools/binfile.h  
 M  +1 -1      data/tools/binfiletester.c  
 M  +1 -4      skycomponents/deepstarcomponent.cpp  
 M  +1 -1      skycomponents/starcomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/binfilehelper.cpp #980108:980109
@@ -20,7 +20,7 @@
 
 #include <kstandarddirs.h>
 #include <kde_file.h>
-#include "byteswap.h"
+#include <byteswap.h>
 
 class BinFileHelper;
 
--- trunk/KDE/kdeedu/kstars/kstars/data/tools/binfile.h #980108:980109
@@ -35,7 +35,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
-#include "byteswap.h"
+#include <byteswap.h>
 
 /* NOTE: HTM_LEVEL and other HTM-related stuff must be defined before using this header */
 
--- trunk/KDE/kdeedu/kstars/kstars/data/tools/binfiletester.c #980108:980109
@@ -21,7 +21,7 @@
 #include <math.h>
 #include <sys/types.h>
 #include <string.h>
-#include "byteswap.h"
+#include <byteswap.h>
 
 #define HTM_LEVEL 3
 #define INDEX_ENTRY_SIZE 12
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/deepstarcomponent.cpp #980108:980109
@@ -29,16 +29,13 @@
 #include "ksutils.h"
 #include "skymap.h"
 #include "skyobjects/starobject.h"
-
 #include "skymesh.h"
-
 #include "binfilehelper.h"
-#include "byteswap.h"
 #include "starblockfactory.h"
-
 #include "starcomponent.h"
 
 #include <kde_file.h>
+#include <byteswap.h>
 
 DeepStarComponent::DeepStarComponent( SkyComponent *parent, QString fileName, float trigMag, bool staticstars )
     : ListComponent(parent), m_reindexNum( J2000 ), triggerMag( trigMag ), m_FaintMagnitude(-5.0), 
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #980108:980109
@@ -36,9 +36,9 @@
 #include "kstarssplash.h"
 
 #include "binfilehelper.h"
-#include "byteswap.h"
 #include "starblockfactory.h"
 
+#include <byteswap.h>
 #include <kde_file.h>
 
 StarComponent *StarComponent::pinstance = 0;


More information about the Kstars-devel mailing list