1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

protoize no-arguments functions

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-09-30 05:25:32 +00:00
parent cf5450bb7c
commit 28b9f11d5a
63 changed files with 104 additions and 99 deletions

View file

@ -533,7 +533,7 @@ ossl_engine_inspect(VALUE self)
#define DefEngineConst(x) rb_define_const(cEngine, #x, INT2NUM(ENGINE_##x))
void
Init_ossl_engine()
Init_ossl_engine(void)
{
cEngine = rb_define_class_under(mOSSL, "Engine", rb_cObject);
eEngineError = rb_define_class_under(cEngine, "EngineError", eOSSLError);
@ -578,7 +578,7 @@ Init_ossl_engine()
}
#else
void
Init_ossl_engine()
Init_ossl_engine(void)
{
}
#endif