From 96d0e68064a778d75df37e84cb7d3a490f77dfef Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 24 Sep 2003 22:55:33 +0000 Subject: * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c, ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must not use C++ or C99 style comment yet. (ruby-bugs:PR#1184) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/bigdecimal/bigdecimal.h | 2 +- ext/openssl/ossl_pkey_dsa.c | 2 +- ext/openssl/ossl_pkey_rsa.c | 2 +- ext/win32ole/win32ole.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h index 3152474b3..aabc551a7 100644 --- a/ext/bigdecimal/bigdecimal.h +++ b/ext/bigdecimal/bigdecimal.h @@ -213,4 +213,4 @@ VP_EXPORT int VPrint(FILE *fp,char *cntl_chr,Real *a); #if defined(__cplusplus) } /* extern "C" { */ #endif -#endif //____BIG_DECIMAL__H____ +#endif /* ____BIG_DECIMAL__H____ */ diff --git a/ext/openssl/ossl_pkey_dsa.c b/ext/openssl/ossl_pkey_dsa.c index bbbd1b883..e20d15544 100644 --- a/ext/openssl/ossl_pkey_dsa.c +++ b/ext/openssl/ossl_pkey_dsa.c @@ -260,7 +260,7 @@ ossl_dsa_to_text(VALUE self) if (!(out = BIO_new(BIO_s_mem()))) { ossl_raise(eDSAError, NULL); } - if (!DSA_print(out, pkey->pkey.dsa, 0)) { //offset = 0 + if (!DSA_print(out, pkey->pkey.dsa, 0)) { /* offset = 0 */ BIO_free(out); ossl_raise(eDSAError, NULL); } diff --git a/ext/openssl/ossl_pkey_rsa.c b/ext/openssl/ossl_pkey_rsa.c index 3b27a2012..2d04bf836 100644 --- a/ext/openssl/ossl_pkey_rsa.c +++ b/ext/openssl/ossl_pkey_rsa.c @@ -347,7 +347,7 @@ ossl_rsa_to_text(VALUE self) if (!(out = BIO_new(BIO_s_mem()))) { ossl_raise(eRSAError, NULL); } - if (!RSA_print(out, pkey->pkey.rsa, 0)) { //offset = 0 + if (!RSA_print(out, pkey->pkey.rsa, 0)) { /* offset = 0 */ BIO_free(out); ossl_raise(eRSAError, NULL); } diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index e380df837..3b143ebd0 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -5063,7 +5063,7 @@ find_default_source(ole, piid, ppTypeInfo) return hr; } - // Determine IID of default source interface + /* Determine IID of default source interface */ hr = (*ppTypeInfo)->lpVtbl->GetTypeAttr(*ppTypeInfo, &pTypeAttr); if (SUCCEEDED(hr)) { *piid = pTypeAttr->guid; -- cgit