Avoid structures or arrays of size 0.

This commit is contained in:
Gregg Mattinson 2002-07-19 03:18:05 +00:00 committed by Alexandre Julliard
parent 963985b303
commit 8a191ff5b8
4 changed files with 4 additions and 3 deletions

View File

@ -25,6 +25,7 @@
typedef struct
{
int empty;
/* empty */
} User_DirectDrawImpl_Part;

View File

@ -21,6 +21,7 @@
struct FakeZBuffer_DirectDrawSurfaceImpl_Part
{
int dummy;
};
typedef struct

View File

@ -334,7 +334,7 @@ typedef struct {
DWORD dwPrivateBytes;
DWORD dwPageFileBytes;
DWORD dwUnknown7[4];
THREADINFO ti[0];
THREADINFO ti[1];
} SYSTEM_PROCESS_INFORMATION;
typedef struct {

View File

@ -154,7 +154,7 @@ typedef struct OMFSegMap
{
unsigned short cSeg;
unsigned short cSegLog;
OMFSegMapDesc rgDesc[0];
/* OMFSegMapDesc rgDesc[0];*/
} OMFSegMap;
@ -185,4 +185,3 @@ typedef struct OMFSourceModule
unsigned short cSeg;
unsigned long baseSrcFile[1];
} OMFSourceModule;