[parted-edge] [Parted-edge] [PATCH 2/4] parted/device.h: move includes to after type definition to avoids dependency
David Cantrell
dcantrell at redhat.com
Mon Nov 5 03:54:48 UTC 2007
On Sat, 03 Nov 2007 14:40:46 -0200
Otavio Salvador <otavio at ossystems.com.br> wrote:
ACK
> From: Otavio Salvador <otavio at ossystems.com.br>
>
>
> ---
>
> include/parted/device.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
>
> diff --git a/include/parted/device.h b/include/parted/device.h
> index ee92de9..fed39be 100644
> --- a/include/parted/device.h
> +++ b/include/parted/device.h
> @@ -26,9 +26,6 @@
> #ifndef PED_DEVICE_H_INCLUDED
> #define PED_DEVICE_H_INCLUDED
>
> -#include <parted/constraint.h>
> -#include <parted/timer.h>
> -
> /** We can address 2^63 sectors */
> typedef long long PedSector;
>
> @@ -117,6 +114,9 @@ struct _PedDeviceArchOps {
> void (*probe_all) ();
> };
>
> +#include <parted/constraint.h>
> +#include <parted/timer.h>
> +
> extern void ped_device_probe_all ();
> extern void ped_device_free_all ();
>
>
>
> _______________________________________________
> 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/27daeba3/attachment.pgp
More information about the parted-edge
mailing list