diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-12-03 14:47:38 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-12-26 20:45:12 +0900 |
commit | bf53d6c7d19f877c821901b3288d7f80955ffbb7 (patch) | |
tree | 4c4dbac564d721af8b295f55e6f81c21af8b0fbe /internal/cont.h | |
parent | 3ae09b30f8ba5ff4dd148d358f51b99ae0ae6c38 (diff) |
other minior internal header tweaks
These headers need no rewrite. Just add some minor tweaks, like
addition of #include lines. Mainly cosmetic.
TIMET_MAX_PLUS_ONE was deleted because the macro was used from only
one place (directly write expression there).
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2711
Diffstat (limited to 'internal/cont.h')
-rw-r--r-- | internal/cont.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/cont.h b/internal/cont.h index 066a28238c..5aaf095142 100644 --- a/internal/cont.h +++ b/internal/cont.h @@ -9,8 +9,10 @@ * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. */ +#include "ruby/ruby.h" /* for VALUE */ + +struct rb_thread_struct; /* in vm_core.h */ -struct rb_thread_struct; /* cont.c */ VALUE rb_obj_is_fiber(VALUE); void rb_fiber_reset_root_local_storage(struct rb_thread_struct *); |