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_hmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/openssl/ossl_hmac.c') diff --git a/ext/openssl/ossl_hmac.c b/ext/openssl/ossl_hmac.c index b1e853dde3..516e3ed8cf 100644 --- a/ext/openssl/ossl_hmac.c +++ b/ext/openssl/ossl_hmac.c @@ -327,7 +327,7 @@ ossl_hmac_s_hexdigest(VALUE klass, VALUE digest, VALUE key, VALUE data) * INIT */ void -Init_ossl_hmac() +Init_ossl_hmac(void) { #if 0 /* :nodoc: */ @@ -357,7 +357,7 @@ Init_ossl_hmac() #else /* NO_HMAC */ # warning >>> OpenSSL is compiled without HMAC support <<< void -Init_ossl_hmac() +Init_ossl_hmac(void) { rb_warning("HMAC is not available: OpenSSL is compiled without HMAC."); } -- cgit v1.2.3