aboutsummaryrefslogtreecommitdiff
path: root/c/common/transform.h
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2018-06-04 17:53:16 +0200
committerGitHub <noreply@github.com>2018-06-04 17:53:16 +0200
commit1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c (patch)
tree254df89394022cf8d5abe6070483887ebd98d6a1 /c/common/transform.h
parent29dc2cce9090d6c92c908116e11373bc7fdc8ad1 (diff)
downloadbrotli-1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c.tar.gz
Inverse bazel project/workspace tree (#677)
* Inverse bazel workspace tree. Now each subproject directly depends on root (c) project. This helps to mitigate Bazel bug bazelbuild/bazel#2391; short summary: Bazel does not work if referenced subproject `WORKSPACE` uses any repositories that embedding project does not. Bright side: building C project is much faster; no need to download closure, go and JDK...
Diffstat (limited to 'c/common/transform.h')
-rwxr-xr-xc/common/transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/common/transform.h b/c/common/transform.h
index 456c12d..83f401c 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* transforms, int transform_idx);
+ const BrotliTransforms* BROTLI_RESTRICT transforms, int transform_idx);
#if defined(__cplusplus) || defined(c_plusplus)
} /* extern "C" */