summaryrefslogtreecommitdiff
path: root/coroutine/x86/Context.h
diff options
context:
space:
mode:
authorsamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:54 +0000
committersamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:54 +0000
commit9481461cc338d410e25163638af484c38317029e (patch)
treef9ba6c108738d332cd1ad11e9ce06beeea26cacc /coroutine/x86/Context.h
parent42575570a908aac979a80b89266804c4c688dd7c (diff)
Ensure start function has correct declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/x86/Context.h')
-rw-r--r--coroutine/x86/Context.h2
1 files changed, 1 insertions, 1 deletions
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,