Remove "inline" specification

BrotliErrorString is an utility method. It is used in very specific cases -> should not be included in library.
MSVC doesn't allow "inline" for C code...
This commit is contained in:
eustas 2016-05-31 16:19:59 +02:00
parent 755b909424
commit 384c595d19

View File

@ -157,7 +157,7 @@ int BrotliStateIsStreamEnd(const BrotliState* s);
BROTLI_RESULT_ERROR. */
BrotliErrorCode BrotliGetErrorCode(const BrotliState* s);
static inline const char* BrotliErrorString(BrotliErrorCode c) {
static const char* BrotliErrorString(BrotliErrorCode c) {
switch (c) {
#define _BROTLI_ERROR_CODE_CASE(NAME, CODE) case NAME: return #NAME;
#define _BROTLI_NOTHING