diff options
author | eustas <eustas.ru@gmail.com> | 2016-05-31 16:19:59 +0200 |
---|---|---|
committer | eustas <eustas.ru@gmail.com> | 2016-05-31 16:19:59 +0200 |
commit | 384c595d19ca0b8518755948c8b158bca52fa039 (patch) | |
tree | 6ea19b9ddacae3db7b998989eb9b5fb81a51cd7f /dec | |
parent | 755b909424990732dffa482f883b2b5773e7355e (diff) | |
download | brotli-384c595d19ca0b8518755948c8b158bca52fa039.zip brotli-384c595d19ca0b8518755948c8b158bca52fa039.tar.gz brotli-384c595d19ca0b8518755948c8b158bca52fa039.tar.bz2 |
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...
Diffstat (limited to 'dec')
-rw-r--r-- | dec/decode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dec/decode.h b/dec/decode.h index 7411f64..4ce61f4 100644 --- a/dec/decode.h +++ b/dec/decode.h @@ -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 |