aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-11 20:55:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-11 20:55:26 +0900
commit603392b8d47afd5e517c89b7f883b754b4a2e94b (patch)
tree03777c7d90809866114c398cdaf7249e7ca9e2d5 /coroutine
parentea2ea74a261da3cc954291ffdef9805ee59a80f7 (diff)
downloadruby-603392b8d47afd5e517c89b7f883b754b4a2e94b.tar.gz
Win32: Use prototype
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/win64/Context.h2
1 files changed, 1 insertions, 1 deletions
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;