From af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Jun 2018 17:11:19 +0200 Subject: Replace typedef struct with struct in POD type declarations. --- src/util/ziptool.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/util/ziptool.cpp') 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[] = { -- cgit v1.2.3