diff --git a/ruby/sfml-system/system/Clock.cpp b/ruby/sfml-system/system/Clock.cpp index e2cf0f43f..9b00ea6f8 100644 --- a/ruby/sfml-system/system/Clock.cpp +++ b/ruby/sfml-system/system/Clock.cpp @@ -24,7 +24,7 @@ static VALUE Clock_Reset( VALUE self ) return Qnil; } -VALUE Clock_New( VALUE aKlass ) +static VALUE Clock_New( VALUE aKlass ) { sf::Clock *object = new sf::Clock(); VALUE rbData = Data_Wrap_Struct( aKlass, 0, Clock_Free, object ); diff --git a/ruby/sfml-system/system/Clock.hpp b/ruby/sfml-system/system/Clock.hpp index 589256aad..762b07487 100644 --- a/ruby/sfml-system/system/Clock.hpp +++ b/ruby/sfml-system/system/Clock.hpp @@ -3,8 +3,6 @@ #include "ruby.h" -VALUE Clock_New( VALUE aKlass ); - // Ruby initiation function void Init_Clock( void );