added a forward declaration to _DRIVE_LAYOUT_INFORMATION(_EX). this
fixes building io/disk.c with GCC4. The reason is that the structures
were used in function prototypes, which are forward declarations in the
scope of the function declaration only. Since the structures were
defined later, the implementations of the functions using them, actually
used the defined structure types, which were different from the forward
declarations in the function prototypes (even though they have the same
name, they just differ in their scope). This caused GCC to warn because
of incompatible function prototypes and incompatible pointer types
passed to those functions
Modified: trunk/reactos/w32api/include/ddk/winddk.h
_____
Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h 2005-07-29 13:28:34 UTC
(rev 16858)
+++ trunk/reactos/w32api/include/ddk/winddk.h 2005-07-29 13:28:37 UTC
(rev 16859)
@@ -101,6 +101,8 @@
struct _IO_STATUS_BLOCK;
struct _DEVICE_DESCRIPTION;
struct _SCATTER_GATHER_LIST;
+struct _DRIVE_LAYOUT_INFORMATION;
+struct _DRIVE_LAYOUT_INFORMATION_EX;
DECLARE_INTERNAL_OBJECT(ADAPTER_OBJECT)
DECLARE_INTERNAL_OBJECT(DMA_ADAPTER)