From 28b9f11d5a4b878adb50a3e5472ceea8c462ed4a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 30 Sep 2014 05:25:32 +0000 Subject: protoize no-arguments functions git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_pkey_rsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/openssl/ossl_pkey_rsa.c') diff --git a/ext/openssl/ossl_pkey_rsa.c b/ext/openssl/ossl_pkey_rsa.c index 4c346a042f..0fef10a042 100644 --- a/ext/openssl/ossl_pkey_rsa.c +++ b/ext/openssl/ossl_pkey_rsa.c @@ -626,7 +626,7 @@ OSSL_PKEY_BN(rsa, iqmp) #define DefRSAConst(x) rb_define_const(cRSA, #x,INT2FIX(RSA_##x)) void -Init_ossl_rsa() +Init_ossl_rsa(void) { #if 0 mOSSL = rb_define_module("OpenSSL"); /* let rdoc know about mOSSL and mPKey */ @@ -694,7 +694,7 @@ Init_ossl_rsa() #else /* defined NO_RSA */ void -Init_ossl_rsa() +Init_ossl_rsa(void) { } #endif /* NO_RSA */ -- cgit v1.2.3