From: W. Felix Handte Date: Thu, 30 Apr 2020 21:43:20 +0000 (-0400) Subject: Switch Helper Declaration to Not Force Inline X-Git-Tag: v1.4.5^2~50^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37648590601476fe518db9b1e2f32703f50aa3ae;p=thirdparty%2Fzstd.git Switch Helper Declaration to Not Force Inline It was causing build issues in ANSI mode. --- diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index 35fb3ee3f..57a6137e1 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h @@ -62,7 +62,8 @@ extern "C" { * us statically check that at least one (string) argument was passed, * independent of the compilation flags. */ -HINT_INLINE UNUSED_ATTR void _force_has_format_string(const char *format, ...) { +static INLINE_KEYWORD UNUSED_ATTR +void _force_has_format_string(const char *format, ...) { (void)format; }