aboutsummaryrefslogtreecommitdiff
path: root/c/common
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2018-06-11 15:17:26 +0200
committerGitHub <noreply@github.com>2018-06-11 15:17:26 +0200
commit09cd3e877f583e6352be146ab22415298366c8d6 (patch)
tree0821b6990772332b57c6cb37ed045af7fbbbc9d7 /c/common
parent8544ae858d87056c8dac55713ffe148d9c60eb93 (diff)
downloadbrotli-09cd3e877f583e6352be146ab22415298366c8d6.zip
brotli-09cd3e877f583e6352be146ab22415298366c8d6.tar.gz
brotli-09cd3e877f583e6352be146ab22415298366c8d6.tar.bz2
Update
Diffstat (limited to 'c/common')
-rwxr-xr-xc/common/transform.c3
-rwxr-xr-xc/common/transform.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/c/common/transform.c b/c/common/transform.c
index 53fe4f6..4184ae5 100755
--- a/c/common/transform.c
+++ b/c/common/transform.c
@@ -4,7 +4,6 @@
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
-#include "./platform.h"
#include "./transform.h"
#if defined(__cplusplus) || defined(c_plusplus)
@@ -192,7 +191,7 @@ static int ToUpperCase(uint8_t* p) {
}
int BrotliTransformDictionaryWord(uint8_t* dst, const uint8_t* word, int len,
- const BrotliTransforms* BROTLI_RESTRICT transforms, int transfom_idx) {
+ const BrotliTransforms* transforms, int transfom_idx) {
int idx = 0;
const uint8_t* prefix = BROTLI_TRANSFORM_PREFIX(transforms, transfom_idx);
uint8_t type = BROTLI_TRANSFORM_TYPE(transforms, transfom_idx);
diff --git a/c/common/transform.h b/c/common/transform.h
index 83f401c..456c12d 100755
--- a/c/common/transform.h
+++ b/c/common/transform.h
@@ -71,7 +71,7 @@ BROTLI_COMMON_API const BrotliTransforms* BrotliGetTransforms(void);
BROTLI_COMMON_API int BrotliTransformDictionaryWord(
uint8_t* dst, const uint8_t* word, int len,
- const BrotliTransforms* BROTLI_RESTRICT transforms, int transform_idx);
+ const BrotliTransforms* transforms, int transform_idx);
#if defined(__cplusplus) || defined(c_plusplus)
} /* extern "C" */