diff --git a/indra/llcommon/llprocessor.h b/indra/llcommon/llprocessor.h index 30bc14d6ceec81d0aed20ab4d28cef066eebe3fa..f1764788861e8db5fbe1b86f3f7968efa488b0ef 100644 --- a/indra/llcommon/llprocessor.h +++ b/indra/llcommon/llprocessor.h @@ -58,7 +58,7 @@ #endif -typedef struct ProcessorExtensions +typedef struct { bool FPU_FloatingPointUnit; bool VME_Virtual8086ModeEnhancements; @@ -99,7 +99,7 @@ typedef struct ProcessorExtensions bool AA64_AMD64BitArchitecture; } ProcessorExtensions; -typedef struct ProcessorCache +typedef struct { bool bPresent; char strSize[32]; /* Flawfinder: ignore */ @@ -109,13 +109,13 @@ typedef struct ProcessorCache char strCache[128]; /* Flawfinder: ignore */ } ProcessorCache; -typedef struct ProcessorL1Cache +typedef struct { ProcessorCache Instruction; ProcessorCache Data; } ProcessorL1Cache; -typedef struct ProcessorTLB +typedef struct { bool bPresent; char strPageSize[32]; /* Flawfinder: ignore */ @@ -124,7 +124,7 @@ typedef struct ProcessorTLB char strTLB[128]; /* Flawfinder: ignore */ } ProcessorTLB; -typedef struct ProcessorInfo +typedef struct { char strVendor[16]; /* Flawfinder: ignore */ unsigned int uiFamily; diff --git a/indra/llrender/llrender.h b/indra/llrender/llrender.h index 2d512ab543c622a78929374c7e0830c951a8ab2f..7ad2bca27c402ed317a54c5601058c4755948b59 100644 --- a/indra/llrender/llrender.h +++ b/indra/llrender/llrender.h @@ -213,12 +213,12 @@ class LLRender LLTexUnit* getTexUnit(U32 index); - typedef struct Vertex + typedef struct { GLfloat v[3]; GLubyte c[4]; GLfloat uv[2]; - }; + } Vertex; public: