Switch Helper Declaration to Not Force Inline

It was causing build issues in ANSI mode.
This commit is contained in:
W. Felix Handte
2020-05-04 10:59:15 -04:00
parent c7da66c9cf
commit 3764859060
+2 -1
View File
@@ -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;
}