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:
Keith Smiley 2022-10-25 12:29:58 -07:00 committed by GitHub
parent 9801a2c5d6
commit 6d03dfbedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5897,7 +5897,7 @@ static BrotliDictionary kBrotliDictionary = {
#endif #endif
}; };
const BrotliDictionary* BrotliGetDictionary() { const BrotliDictionary* BrotliGetDictionary(void) {
return &kBrotliDictionary; return &kBrotliDictionary;
} }

View File

@ -2776,7 +2776,7 @@ const char* BrotliDecoderErrorString(BrotliDecoderErrorCode c) {
} }
} }
uint32_t BrotliDecoderVersion() { uint32_t BrotliDecoderVersion(void) {
return BROTLI_VERSION; return BROTLI_VERSION;
} }