From 0766b8af2a3348acbce1b8b6ccf9a5e68f29fb8b Mon Sep 17 00:00:00 2001 From: rhe Date: Wed, 25 May 2016 08:46:40 +0000 Subject: openssl: remove unnecessary 'extern "C"' blocks from local headers * ext/openssl/openssl_missing.h, ext/openssl/ossl.h: Remove unnecessary 'extern "C"' blocks. We don't use C++ and these headers are local to ext/openssl, so there is no need to enclose with it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ext/openssl/ossl.h') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 8da2ab479c..4a538e9b12 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -12,10 +12,6 @@ #include RUBY_EXTCONF_H -#if defined(__cplusplus) -extern "C" { -#endif - #if 0 mOSSL = rb_define_module("OpenSSL"); mX509 = rb_define_module_under(mOSSL, "X509"); @@ -247,8 +243,4 @@ void ossl_debug(const char *, ...); void Init_openssl(void); -#if defined(__cplusplus) -} -#endif - #endif /* _OSSL_H_ */ -- cgit v1.2.3