Avoid structures or arrays of size 0.
This commit is contained in:
parent
963985b303
commit
8a191ff5b8
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
int empty;
|
||||||
/* empty */
|
/* empty */
|
||||||
} User_DirectDrawImpl_Part;
|
} User_DirectDrawImpl_Part;
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
struct FakeZBuffer_DirectDrawSurfaceImpl_Part
|
struct FakeZBuffer_DirectDrawSurfaceImpl_Part
|
||||||
{
|
{
|
||||||
|
int dummy;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|
|
@ -334,7 +334,7 @@ typedef struct {
|
||||||
DWORD dwPrivateBytes;
|
DWORD dwPrivateBytes;
|
||||||
DWORD dwPageFileBytes;
|
DWORD dwPageFileBytes;
|
||||||
DWORD dwUnknown7[4];
|
DWORD dwUnknown7[4];
|
||||||
THREADINFO ti[0];
|
THREADINFO ti[1];
|
||||||
} SYSTEM_PROCESS_INFORMATION;
|
} SYSTEM_PROCESS_INFORMATION;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -154,7 +154,7 @@ typedef struct OMFSegMap
|
||||||
{
|
{
|
||||||
unsigned short cSeg;
|
unsigned short cSeg;
|
||||||
unsigned short cSegLog;
|
unsigned short cSegLog;
|
||||||
OMFSegMapDesc rgDesc[0];
|
/* OMFSegMapDesc rgDesc[0];*/
|
||||||
} OMFSegMap;
|
} OMFSegMap;
|
||||||
|
|
||||||
|
|
||||||
|
@ -185,4 +185,3 @@ typedef struct OMFSourceModule
|
||||||
unsigned short cSeg;
|
unsigned short cSeg;
|
||||||
unsigned long baseSrcFile[1];
|
unsigned long baseSrcFile[1];
|
||||||
} OMFSourceModule;
|
} OMFSourceModule;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue