summaryrefslogtreecommitdiff
path: root/coroutine/win32
diff options
context:
space:
mode:
authorsamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:17:17 +0000
committersamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:17:17 +0000
commitae3c8c20850cc03ad0aaae803fd39d9dceeb78a6 (patch)
tree4859db51a073017c5e4efcce49e29828893e83f0 /coroutine/win32
parenta3de4a092df50c3e6e142a65ee2fcaaee99ecfd0 (diff)
Prefer "static inline" to avoid duplicate symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/win32')
-rw-r--r--coroutine/win32/Context.h4
1 files changed, 2 insertions, 2 deletions
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)
{
}