[Parted-edge] [PATCH 3/4] parted/geom.h: move includes to after type definition to avoids dependency

Otavio Salvador otavio at ossystems.com.br
Fri Nov 2 21:23:08 UTC 2007


From: Otavio Salvador <otavio at ossystems.com.br>


---

 include/parted/geom.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/include/parted/geom.h b/include/parted/geom.h
index 58fd900..0982c8e 100644
--- a/include/parted/geom.h
+++ b/include/parted/geom.h
@@ -26,9 +26,6 @@
 #ifndef PED_GEOM_H_INCLUDED
 #define PED_GEOM_H_INCLUDED
 
-#include <parted/device.h>
-#include <parted/timer.h>
-
 typedef struct _PedGeometry	PedGeometry;
 
 /**
@@ -41,6 +38,9 @@ struct _PedGeometry {
 	PedSector		end;
 };
 
+#include <parted/device.h>
+#include <parted/timer.h>
+
 extern int ped_geometry_init (PedGeometry* geom, const PedDevice* dev,
 			      PedSector start, PedSector length);
 extern PedGeometry* ped_geometry_new (const PedDevice* dev, PedSector start,




More information about the parted-edge mailing list