diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 15:11:19 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-20 09:51:42 +0000 |
| commit | af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch) | |
| tree | 1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/util | |
| parent | Replace functions with methods in SPColor. (diff) | |
| download | inkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.tar.gz inkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.zip | |
Replace typedef struct with struct in POD type declarations.
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/ziptool.cpp | 12 |
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[] = { |
