[XDK] Remove obsolete _ANONYMOUS_STRUCT/UNION

This commit is contained in:
Timo Kreuzer 2023-12-03 11:30:53 +02:00
parent f42e9029f7
commit aafe33ca85

View file

@ -1301,10 +1301,10 @@ typedef struct _KUSER_SHARED_DATA
ULONG NumberOfPhysicalPages; ULONG NumberOfPhysicalPages;
BOOLEAN SafeBootMode; BOOLEAN SafeBootMode;
#if (NTDDI_VERSION >= NTDDI_WIN7) #if (NTDDI_VERSION >= NTDDI_WIN7)
_ANONYMOUS_UNION union union
{ {
UCHAR TscQpcData; UCHAR TscQpcData;
_ANONYMOUS_STRUCT struct struct
{ {
UCHAR TscQpcEnabled:1; UCHAR TscQpcEnabled:1;
UCHAR TscQpcSpareFlag:1; UCHAR TscQpcSpareFlag:1;
@ -1314,10 +1314,10 @@ typedef struct _KUSER_SHARED_DATA
UCHAR TscQpcPad[2]; UCHAR TscQpcPad[2];
#endif #endif
#if (NTDDI_VERSION >= NTDDI_VISTA) #if (NTDDI_VERSION >= NTDDI_VISTA)
_ANONYMOUS_UNION union union
{ {
ULONG SharedDataFlags; ULONG SharedDataFlags;
_ANONYMOUS_STRUCT struct struct
{ {
ULONG DbgErrorPortPresent:1; ULONG DbgErrorPortPresent:1;
ULONG DbgElevationEnabled:1; ULONG DbgElevationEnabled:1;
@ -1337,11 +1337,11 @@ typedef struct _KUSER_SHARED_DATA
ULONG SystemCall; ULONG SystemCall;
ULONG SystemCallReturn; ULONG SystemCallReturn;
ULONGLONG SystemCallPad[3]; ULONGLONG SystemCallPad[3];
_ANONYMOUS_UNION union union
{ {
volatile KSYSTEM_TIME TickCount; volatile KSYSTEM_TIME TickCount;
volatile ULONG64 TickCountQuad; volatile ULONG64 TickCountQuad;
_ANONYMOUS_STRUCT struct struct
{ {
ULONG ReservedTickCountOverlay[3]; ULONG ReservedTickCountOverlay[3];
ULONG TickCountPad[1]; ULONG TickCountPad[1];