summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/ziptool.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp
index 4408c3daa..7f2654876 100644
--- a/src/util/ziptool.cpp
+++ b/src/util/ziptool.cpp
@@ -198,11 +198,11 @@ unsigned long Crc32::getValue()
/**
*
*/
-typedef struct
+struct Huffman
{
int *count; // number of symbols of each length
int *symbol; // canonically ordered symbols
-} Huffman;
+};
/**
*
@@ -1137,12 +1137,12 @@ void Deflater::encodeLiteralStatic(unsigned int ch)
}
-typedef struct
+struct LenBase
{
unsigned int base;
unsigned int range;
unsigned int bits;
-} LenBase;
+};
LenBase lenBases[] =
{
@@ -1177,12 +1177,12 @@ LenBase lenBases[] =
{ 258, 1, 0 }
};
-typedef struct
+struct DistBase
{
unsigned int base;
unsigned int range;
unsigned int bits;
-} DistBase;
+};
DistBase distBases[] =
{