Skip to content

Commit

Permalink
style cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
quix committed Mar 17, 2011
1 parent 7bb1aa4 commit 6805d69
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions ext/boc/boc.c
Expand Up @@ -15,8 +15,7 @@ struct dispatch_args
ID method_id ; ID method_id ;
} ; } ;


static static VALUE
VALUE
begin_section( VALUE data ) begin_section( VALUE data )
{ {
struct dispatch_args* dargs = (struct dispatch_args*)data ; struct dispatch_args* dargs = (struct dispatch_args*)data ;
Expand All @@ -28,8 +27,7 @@ begin_section( VALUE data )
dargs->argv) ; dargs->argv) ;
} }


static static VALUE
VALUE
ensure_section( VALUE unused ) ensure_section( VALUE unused )
{ {
rb_ary_pop( rb_ary_pop(
Expand Down Expand Up @@ -70,8 +68,7 @@ dispatch_common( VALUE method_sym, int argc, VALUE *argv, VALUE self )
Qnil) ; Qnil) ;
} }


static static VALUE
VALUE
dispatch_normal( int argc, VALUE *argv, VALUE self ) dispatch_normal( int argc, VALUE *argv, VALUE self )
{ {
return dispatch_common( return dispatch_common(
Expand All @@ -84,8 +81,7 @@ dispatch_normal( int argc, VALUE *argv, VALUE self )
self) ; self) ;
} }


static static VALUE
VALUE
dispatch_basic_object(int argc, VALUE *argv, VALUE self) dispatch_basic_object(int argc, VALUE *argv, VALUE self)
{ {
return dispatch_common( return dispatch_common(
Expand All @@ -95,8 +91,7 @@ dispatch_basic_object(int argc, VALUE *argv, VALUE self)
self) ; self) ;
} }


static static VALUE
VALUE
enable_ext( VALUE self, VALUE klass, VALUE method_sym ) enable_ext( VALUE self, VALUE klass, VALUE method_sym )
{ {
rb_define_method( rb_define_method(
Expand All @@ -108,8 +103,7 @@ enable_ext( VALUE self, VALUE klass, VALUE method_sym )
return Qnil ; return Qnil ;
} }


static static VALUE
VALUE
enable_basic_object_ext( VALUE self, VALUE klass, VALUE method_sym ) enable_basic_object_ext( VALUE self, VALUE klass, VALUE method_sym )
{ {
basic_object_method_sym = method_sym ; basic_object_method_sym = method_sym ;
Expand Down

0 comments on commit 6805d69

Please sign in to comment.