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

David Cantrell dcantrell at redhat.com
Mon Nov 5 03:55:36 UTC 2007


On Sat, 03 Nov 2007 17:41:07 -0200
Otavio Salvador <otavio at ossystems.com.br> wrote:

ACK

> 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,
> 
> 
> _______________________________________________
> parted-edge mailing list
> parted-edge at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-edge


-- 
David Cantrell <dcantrell at redhat.com>
Red Hat / Westford, MA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-edge/attachments/20071104/aaff5ca2/attachment.pgp 


More information about the parted-edge mailing list