From 7b6fde4258e700c0e0292bb091aa84a5e473342e Mon Sep 17 00:00:00 2001 From: 卜部昌平 Date: Wed, 28 Aug 2019 17:48:48 +0900 Subject: drop-in type check for rb_define_module_function We can check the function pointer passed to rb_define_module_function like how we do so in rb_define_method. The difference is that this changeset reveales lots of atiry mismatches. --- ext/openssl/ossl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl') diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 69758aed7a..e4196f0754 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -338,7 +338,7 @@ ossl_clear_error(void) * implementation. */ VALUE -ossl_get_errors(void) +ossl_get_errors(VALUE _) { VALUE ary; long e; -- cgit v1.2.3