summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-29 12:22:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-29 12:22:04 +0000
commitbe7bf5aa0cd9a8e90dbaf268d53b8590fc23393d (patch)
treec7c9bb262103dc191b197b133d941ac997f1b41f /cont.c
parente878df745ca89ecdb07090ad2bb99fd433dfc3a3 (diff)
adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index e24c2d3..43a60fa 100644
--- a/cont.c
+++ b/cont.c
@@ -128,7 +128,7 @@ static VALUE rb_eFiberError;
#define GetFiberPtr(obj, ptr) do {\
TypedData_Get_Struct((obj), rb_fiber_t, &fiber_data_type, (ptr)); \
if (!(ptr)) rb_raise(rb_eFiberError, "uninitialized fiber"); \
-} while(0)
+} while (0)
NOINLINE(static VALUE cont_capture(volatile int *stat));
@@ -872,7 +872,7 @@ rb_callcc(VALUE self)
static VALUE
make_passing_arg(int argc, VALUE *argv)
{
- switch(argc) {
+ switch (argc) {
case 0:
return Qnil;
case 1: