From 37648590601476fe518db9b1e2f32703f50aa3ae Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Thu, 30 Apr 2020 17:43:20 -0400 Subject: [PATCH] Switch Helper Declaration to Not Force Inline It was causing build issues in ANSI mode. --- lib/common/zstd_internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }