From 603392b8d47afd5e517c89b7f883b754b4a2e94b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 11 Feb 2024 20:55:26 +0900 Subject: [PATCH] Win32: Use prototype --- coroutine/win64/Context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coroutine/win64/Context.h b/coroutine/win64/Context.h index aaa4caeaf9..d85ebf8e0e 100644 --- a/coroutine/win64/Context.h +++ b/coroutine/win64/Context.h @@ -30,7 +30,7 @@ struct coroutine_context typedef void(* coroutine_start)(struct coroutine_context *from, struct coroutine_context *self); -void coroutine_trampoline(); +void coroutine_trampoline(void); static inline void coroutine_initialize_main(struct coroutine_context * context) { context->stack_pointer = NULL;