From 44f026adfb44bc152c7ee2a386eee5a7d8bdc6b5 Mon Sep 17 00:00:00 2001 From: nlewycky Date: Tue, 29 Oct 2019 15:30:59 -0700 Subject: [PATCH] Move the linkage before the type. Though both orders work, this is customary. --- lib/runtime-c-api/tests/test-wasi-import-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime-c-api/tests/test-wasi-import-object.c b/lib/runtime-c-api/tests/test-wasi-import-object.c index e3f530d2d..bd1478dc1 100644 --- a/lib/runtime-c-api/tests/test-wasi-import-object.c +++ b/lib/runtime-c-api/tests/test-wasi-import-object.c @@ -4,7 +4,7 @@ #include #include -bool static host_print_called = false; +static bool host_print_called = false; // Host function that will be imported into the Web Assembly Instance void host_print(const wasmer_instance_context_t *ctx, int32_t ptr, int32_t len)