path: root/cont.c
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-21 02:11:39 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-21 02:11:39 (GMT)
commitc8a34443c00d019a9bc44155c639bc55d2272db0 (patch)
treeb062ba5075355b42616d3316d57760a65dc60ce5 /cont.c
parent5a336c26cdf741fad2f859eec3aa3da13771c744 (diff)
cont.c: fix syntax error
* cont.c (struct rb_fiber_struct): fix wrong usage of BITFIELD in r64487, which caused syntax error on pre-C99 compilers. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 500e365..408db21 100644
--- a/cont.c
+++ b/cont.c
@@ -175,7 +175,7 @@ struct rb_fiber_struct {
rb_context_t cont;
VALUE first_proc;
struct rb_fiber_struct *prev;
- BITFIELD(enum fiber_status status) : 2;
+ BITFIELD(enum fiber_status) status : 2;
/* If a fiber invokes "transfer",
* then this fiber can't "resume" any more after that.
* You shouldn't mix "transfer" and "resume".