summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llfindlocale.cpp4
-rw-r--r--indra/llcommon/llfindlocale.h4
-rw-r--r--indra/llcommon/llprocessor.h20
3 files changed, 14 insertions, 14 deletions
diff --git a/indra/llcommon/llfindlocale.cpp b/indra/llcommon/llfindlocale.cpp
index e9779b9399..cd9b7ddbf6 100644
--- a/indra/llcommon/llfindlocale.cpp
+++ b/indra/llcommon/llfindlocale.cpp
@@ -180,10 +180,10 @@ canonise_fl(FL_Locale *l) {
#define ML(pn,sn) MAKELANGID(LANG_##pn, SUBLANG_##pn##_##sn)
#define MLN(pn) MAKELANGID(LANG_##pn, SUBLANG_DEFAULT)
#define RML(pn,sn) MAKELANGID(LANG_##pn, SUBLANG_##sn)
-typedef struct {
+struct IDToCode {
LANGID id;
char* code;
-} IDToCode;
+};
static const IDToCode both_to_code[] = {
{ML(ENGLISH,US), "en_US.ISO_8859-1"},
{ML(ENGLISH,CAN), "en_CA"}, /* english / canadian */
diff --git a/indra/llcommon/llfindlocale.h b/indra/llcommon/llfindlocale.h
index 1401609d40..cfcee759fd 100644
--- a/indra/llcommon/llfindlocale.h
+++ b/indra/llcommon/llfindlocale.h
@@ -36,11 +36,11 @@ typedef const char* FL_Lang;
typedef const char* FL_Country;
typedef const char* FL_Variant;
-typedef struct {
+struct FL_Locale {
FL_Lang lang;
FL_Country country;
FL_Variant variant;
-} FL_Locale;
+};
typedef enum {
/* for some reason we failed to even guess: this should never happen */
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