aboutsummaryrefslogtreecommitdiff
path: root/c/common/dictionary.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-09-25 12:25:15 -0700
committerTianjie Xu <xunchang@google.com>2018-09-25 22:00:32 +0000
commita5dcb7cf83648585dfacad1015ec2a9af5b361d8 (patch)
tree25f44c98c1f9967ed8157b42714fa04250950400 /c/common/dictionary.h
parentf55cbaf6e7c4b59848139c69c02b600ad738938a (diff)
downloadbrotli-a5dcb7cf83648585dfacad1015ec2a9af5b361d8.tar.gz
Revert "Revert "Merge tag 'v1.0.5' into HEAD""
Bug: 114832768 Test: mma This reverts commit c4af2b09ada22257ff12967537264627a3936822. Change-Id: Ibea95f37fb1ce2ef6ae7d40aaac2a3ec41a2c5c9
Diffstat (limited to 'c/common/dictionary.h')
-rw-r--r--c/common/dictionary.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/common/dictionary.h b/c/common/dictionary.h
index 46fe533..b1c6f7f 100644
--- a/c/common/dictionary.h
+++ b/c/common/dictionary.h
@@ -27,13 +27,13 @@ typedef struct BrotliDictionary {
* Dictionary consists of words with length of [4..24] bytes.
* Values at [0..3] and [25..31] indices should not be addressed.
*/
- const uint8_t size_bits_by_length[32];
+ uint8_t size_bits_by_length[32];
/* assert(offset[i + 1] == offset[i] + (bits[i] ? (i << bits[i]) : 0)) */
- const uint32_t offsets_by_length[32];
+ uint32_t offsets_by_length[32];
/* assert(data_size == offsets_by_length[31]) */
- const size_t data_size;
+ size_t data_size;
/* Data array is not bound, and should obey to size_bits_by_length values.
Specified size matches default (RFC 7932) dictionary. Its size is
@@ -41,7 +41,7 @@ typedef struct BrotliDictionary {
const uint8_t* data;
} BrotliDictionary;
-BROTLI_COMMON_API extern const BrotliDictionary* BrotliGetDictionary(void);
+BROTLI_COMMON_API const BrotliDictionary* BrotliGetDictionary(void);
/**
* Sets dictionary data.