diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-04 23:09:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-04 23:09:32 +0000 |
commit | 5540c1de81f69e160c2302e56e4957147f240450 (patch) | |
tree | 8b81149b8a82e21ffb43fd937356a007e13fbb10 /ext/openssl | |
parent | 02be147c8af11810ba7becdedc78d2904cdb7b86 (diff) | |
download | ruby-5540c1de81f69e160c2302e56e4957147f240450.tar.gz |
ext: protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/ossl_pkey_ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c index 5e419bd167..cec0059715 100644 --- a/ext/openssl/ossl_pkey_ec.c +++ b/ext/openssl/ossl_pkey_ec.c @@ -1556,7 +1556,7 @@ static void no_copy(VALUE klass) rb_undef_method(klass, "initialize_copy"); } -void Init_ossl_ec() +void Init_ossl_ec(void) { #ifdef DONT_NEED_RDOC_WORKAROUND mOSSL = rb_define_module("OpenSSL"); @@ -1677,7 +1677,7 @@ void Init_ossl_ec() } #else /* defined NO_EC */ -void Init_ossl_ec() +void Init_ossl_ec(void) { } #endif /* NO_EC */ |