From ae3c8c20850cc03ad0aaae803fd39d9dceeb78a6 Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 20 Nov 2018 10:17:17 +0000 Subject: Prefer "static inline" to avoid duplicate symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- coroutine/win32/Context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coroutine/win32') diff --git a/coroutine/win32/Context.h b/coroutine/win32/Context.h index cea0345db1..8dd47696c5 100644 --- a/coroutine/win32/Context.h +++ b/coroutine/win32/Context.h @@ -25,7 +25,7 @@ struct coroutine_context typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self); -inline void coroutine_initialize( +static inline void coroutine_initialize( coroutine_context *context, coroutine_start start, void *stack_pointer, @@ -52,7 +52,7 @@ inline void coroutine_initialize( coroutine_context * __fastcall coroutine_transfer(coroutine_context * current, coroutine_context * target); -inline void coroutine_destroy(coroutine_context * context) +static inline void coroutine_destroy(coroutine_context * context) { } -- cgit v1.2.3