diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:17:17 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:17:17 +0000 |
commit | ae3c8c20850cc03ad0aaae803fd39d9dceeb78a6 (patch) | |
tree | 4859db51a073017c5e4efcce49e29828893e83f0 /coroutine/amd64 | |
parent | a3de4a092df50c3e6e142a65ee2fcaaee99ecfd0 (diff) | |
download | ruby-ae3c8c20850cc03ad0aaae803fd39d9dceeb78a6.tar.gz |
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/amd64')
-rw-r--r-- | coroutine/amd64/Context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coroutine/amd64/Context.h b/coroutine/amd64/Context.h index f6efd6d1b5..87accda5c3 100644 --- a/coroutine/amd64/Context.h +++ b/coroutine/amd64/Context.h @@ -25,7 +25,7 @@ typedef struct 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, @@ -49,7 +49,7 @@ inline void coroutine_initialize( coroutine_context * coroutine_transfer(coroutine_context * current, coroutine_context * target); -inline void coroutine_destroy(coroutine_context * context) +static inline void coroutine_destroy(coroutine_context * context) { context->stack_pointer = NULL; } |