diff --git a/ext/hbsdctl.rb/hbsdctl.c b/ext/hbsdctl.rb/hbsdctl.c index 1f7f149..c97bdd9 100644 --- a/ext/hbsdctl.rb/hbsdctl.c +++ b/ext/hbsdctl.rb/hbsdctl.c @@ -1,6 +1,14 @@ #include #include +static VALUE +ffi_library_version(VALUE self) +{ + const char *ver; + ver = hbsdcontrol_get_version(); + return rb_str_new2(ver); +} + static VALUE ffi_available_features(VALUE self) { @@ -26,14 +34,6 @@ ffi_available_features(VALUE self) return features; } -static VALUE -ffi_library_version(VALUE self) -{ - const char *ver; - ver = hbsdcontrol_get_version(); - return rb_str_new2(ver); -} - static VALUE feature_set(VALUE self, VALUE path, VALUE state) {