mirror of
https://github.com/google/brotli.git
synced 2024-11-23 09:57:01 +08:00
Fix -Wstrict-prototypes warnings (#985)
Envoy builds brotli with -Werror, and these strict prototypes are picked up by newer versions of clang.
This commit is contained in:
parent
9801a2c5d6
commit
6d03dfbedd
@ -5897,7 +5897,7 @@ static BrotliDictionary kBrotliDictionary = {
|
||||
#endif
|
||||
};
|
||||
|
||||
const BrotliDictionary* BrotliGetDictionary() {
|
||||
const BrotliDictionary* BrotliGetDictionary(void) {
|
||||
return &kBrotliDictionary;
|
||||
}
|
||||
|
||||
|
@ -2776,7 +2776,7 @@ const char* BrotliDecoderErrorString(BrotliDecoderErrorCode c) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t BrotliDecoderVersion() {
|
||||
uint32_t BrotliDecoderVersion(void) {
|
||||
return BROTLI_VERSION;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user