mirror of
https://github.com/google/brotli.git
synced 2024-11-22 03:30:07 +00: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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const BrotliDictionary* BrotliGetDictionary() {
|
const BrotliDictionary* BrotliGetDictionary(void) {
|
||||||
return &kBrotliDictionary;
|
return &kBrotliDictionary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2776,7 +2776,7 @@ const char* BrotliDecoderErrorString(BrotliDecoderErrorCode c) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t BrotliDecoderVersion() {
|
uint32_t BrotliDecoderVersion(void) {
|
||||||
return BROTLI_VERSION;
|
return BROTLI_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user