summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_engine.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 +0000
commit28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (patch)
tree0089b9a1bce84d5ec72badeae44b4e08f08a9c33 /ext/openssl/ossl_engine.c
parentcf5450bb7c86c4eb83f0d468c73d987e4a3e7344 (diff)
protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_engine.c')
-rw-r--r--ext/openssl/ossl_engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c
index f99a30d..96bce5e 100644
--- a/ext/openssl/ossl_engine.c
+++ b/ext/openssl/ossl_engine.c
@@ -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