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.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/openssl/ossl.c') diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 8b25c02990..5fbfb3358a 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -361,7 +361,7 @@ ossl_exc_new(VALUE exc, const char *fmt, ...) * Any errors you see here are probably due to a bug in ruby's OpenSSL implementation. */ VALUE -ossl_get_errors() +ossl_get_errors(void) { VALUE ary; long e; @@ -1034,7 +1034,7 @@ static void Init_ossl_locks(void) * */ void -Init_openssl() +Init_openssl(void) { /* * Init timezone info -- cgit v1.2.3