mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Avoid structures or arrays of size 0.
This commit is contained in:
parent
963985b303
commit
8a191ff5b8
4 changed files with 4 additions and 3 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
typedef struct
|
||||
{
|
||||
int empty;
|
||||
/* empty */
|
||||
} User_DirectDrawImpl_Part;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
struct FakeZBuffer_DirectDrawSurfaceImpl_Part
|
||||
{
|
||||
int dummy;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -334,7 +334,7 @@ typedef struct {
|
|||
DWORD dwPrivateBytes;
|
||||
DWORD dwPageFileBytes;
|
||||
DWORD dwUnknown7[4];
|
||||
THREADINFO ti[0];
|
||||
THREADINFO ti[1];
|
||||
} SYSTEM_PROCESS_INFORMATION;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue