diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-05 16:56:44 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-14 20:00:56 +0900 |
commit | d110cbdf3eb90f46da907db7500dd85d9ddd7c14 (patch) | |
tree | 8ca871f8c99201549ad0308c0d7cbd996c77c2e2 /ext/openssl/openssl_missing.h | |
parent | 0078754bbd623b6c4eacbb844433f3f3f6977e25 (diff) | |
download | ruby-d110cbdf3eb90f46da907db7500dd85d9ddd7c14.tar.gz |
ext/openssl: remove 'extern "C" { }' blocks
They have existed since ext/openssl was imported to Ruby, but since
openssl_missing.h and ossl.h are not library code, we can remove these
extern "C"s.
Diffstat (limited to 'ext/openssl/openssl_missing.h')
-rw-r--r-- | ext/openssl/openssl_missing.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h index bf5be463cf..8eec424efc 100644 --- a/ext/openssl/openssl_missing.h +++ b/ext/openssl/openssl_missing.h @@ -10,10 +10,6 @@ #if !defined(_OSSL_OPENSSL_MISSING_H_) #define _OSSL_OPENSSL_MISSING_H_ -#if defined(__cplusplus) -extern "C" { -#endif - #ifndef TYPEDEF_D2I_OF typedef char *d2i_of_void(); #endif @@ -201,9 +197,4 @@ int ASN1_put_eoc(unsigned char **pp); (ctx)->options &= ~(op); while (0) #endif -#if defined(__cplusplus) -} -#endif - - #endif /* _OSSL_OPENSSL_MISSING_H_ */ |