Skip to content

Commit

Permalink
continuation.c: quiet static-linked-ext
Browse files Browse the repository at this point in the history
* ext/continuation/continuation.c (Init_continuation): start
  quietly if statically linked.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Nov 27, 2014
1 parent 8299027 commit 3c45a56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/continuation/continuation.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ void ruby_Init_Continuation_body(void);
void
Init_continuation(void)
{
#ifndef RUBY_EXPORT
rb_warn("callcc is obsolete; use Fiber instead");
#endif
ruby_Init_Continuation_body();
}

0 comments on commit 3c45a56

Please sign in to comment.