From 9481461cc338d410e25163638af484c38317029e Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 20 Nov 2018 10:16:54 +0000 Subject: Ensure start function has correct declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- coroutine/x86/Context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coroutine/x86/Context.h') diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h index e54dedd776..8a65800891 100644 --- a/coroutine/x86/Context.h +++ b/coroutine/x86/Context.h @@ -23,7 +23,7 @@ typedef struct void **stack_pointer; } coroutine_context; -typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall)); +typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall)); void coroutine_initialize( coroutine_context *context, -- cgit v1.2.3