msvc compatibility
authorRoyce Mitchell III <royce3@ev1.net>
Wed, 22 Dec 2004 05:06:59 +0000 (05:06 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Wed, 22 Dec 2004 05:06:59 +0000 (05:06 +0000)
svn path=/trunk/; revision=12285

reactos/include/ddk/iotypes.h
reactos/include/ddk/mmtypes.h
reactos/include/ddk/setypes.h

index f043993..469229b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: iotypes.h,v 1.70 2004/11/25 22:18:15 ion Exp $
+/* $Id: iotypes.h,v 1.71 2004/12/22 05:06:59 royce Exp $
  *
  */
 
@@ -1307,7 +1307,7 @@ typedef struct _SCATTER_GATHER_ELEMENT {
 typedef struct _SCATTER_GATHER_LIST {
   ULONG NumberOfElements;
   ULONG_PTR Reserved;
-  SCATTER_GATHER_ELEMENT Elements[];
+  SCATTER_GATHER_ELEMENT Elements[1];
 } SCATTER_GATHER_LIST, *PSCATTER_GATHER_LIST;
 
 typedef VOID (*PPUT_DMA_ADAPTER)(
index 515fee0..9dee41e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mmtypes.h,v 1.20 2004/11/20 16:46:04 weiden Exp $ */
+/* $Id: mmtypes.h,v 1.21 2004/12/22 05:06:59 royce Exp $ */
 
 #ifndef _INCLUDE_DDK_MMTYPES_H
 #define _INCLUDE_DDK_MMTYPES_H
@@ -76,10 +76,10 @@ typedef union _FILE_SEGMENT_ELEMENT {
 }FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT;
 
 typedef struct _READ_LIST {
-       struct FILE_OBJECT* FileObject;
+       struct _FILE_OBJECT* FileObject;
     ULONG NumberOfEntries;
     ULONG IsImage;
-    FILE_SEGMENT_ELEMENT List[];
+    FILE_SEGMENT_ELEMENT List[1];
 } READ_LIST, *PREAD_LIST;
 
 #define MmSmallSystem (0)
index 95c0d6a..c3e5137 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: setypes.h,v 1.16 2004/07/19 06:08:21 ion Exp $
+/* $Id: setypes.h,v 1.17 2004/12/22 05:06:59 royce Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory for details
  * PROJECT:           ReactOS kernel
@@ -96,7 +96,7 @@ typedef struct _ACCESS_TOKEN
   UCHAR                                Unused[2];                 /* 0x66 */
   PVOID                                ProxyData;                 /* 0x68 */
   PVOID                                AuditData;                 /* 0x6c */
-  UCHAR                                VariablePart[0];           /* 0x70 */
+  UCHAR                                VariablePart[1];           /* 0x70 */
 } ACCESS_TOKEN, *PACCESS_TOKEN;