From 0ae35124549a1fab117fa6631fc8adc54f0501b8 Mon Sep 17 00:00:00 2001 From: Brian McGroarty Date: Mon, 25 Aug 2008 15:24:10 +0000 Subject: Fix gcc4 with proper Linden-canonical struct definitions --- indra/llcommon/llprocessor.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'indra/llcommon/llprocessor.h') diff --git a/indra/llcommon/llprocessor.h b/indra/llcommon/llprocessor.h index f176478886..e4c6f590c5 100644 --- a/indra/llcommon/llprocessor.h +++ b/indra/llcommon/llprocessor.h @@ -58,7 +58,7 @@ #endif -typedef struct +struct ProcessorExtensions { bool FPU_FloatingPointUnit; bool VME_Virtual8086ModeEnhancements; @@ -97,9 +97,9 @@ typedef struct bool _3DNOW_InstructionExtensions; bool _E3DNOW_InstructionExtensions; bool AA64_AMD64BitArchitecture; -} ProcessorExtensions; +}; -typedef struct +struct ProcessorCache { bool bPresent; char strSize[32]; /* Flawfinder: ignore */ @@ -107,24 +107,24 @@ typedef struct unsigned int uiLineSize; bool bSectored; char strCache[128]; /* Flawfinder: ignore */ -} ProcessorCache; +}; -typedef struct +struct ProcessorL1Cache { ProcessorCache Instruction; ProcessorCache Data; -} ProcessorL1Cache; +}; -typedef struct +struct ProcessorTLB { bool bPresent; char strPageSize[32]; /* Flawfinder: ignore */ unsigned int uiAssociativeWays; unsigned int uiEntries; char strTLB[128]; /* Flawfinder: ignore */ -} ProcessorTLB; +}; -typedef struct +struct ProcessorInfo { char strVendor[16]; /* Flawfinder: ignore */ unsigned int uiFamily; @@ -148,7 +148,7 @@ typedef struct ProcessorCache _Trace; ProcessorTLB _Instruction; ProcessorTLB _Data; -} ProcessorInfo; +}; // CProcessor -- cgit v1.2.3