summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-22 21:06:19 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-22 21:06:19 +0000
commit0212af1733d6e246e2d1b91e62e0d5e637c2e0f9 (patch)
tree477e2577267d408d82383f96021fec917b5317aa
parent9ce124dd1ac9bc55c620ad2077568dac853b30ba (diff)
* ext/bigdecimal/bigdecimal.h: add satisfy cc-mode comment.
* util.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/bigdecimal/bigdecimal.h4
-rw-r--r--util.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a4fe8369d..31ac1e98f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 23 06:00:39 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * ext/bigdecimal/bigdecimal.h: add satisfy cc-mode comment.
+ * util.c: ditto.
+
Fri Dec 23 00:08:25 2011 Tanaka Akira <akr@fsij.org>
* test/test_pty.rb (test_pty_check_default): "cat" may not terminateed
diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h
index b1dfd9c371..a04d1bbfea 100644
--- a/ext/bigdecimal/bigdecimal.h
+++ b/ext/bigdecimal/bigdecimal.h
@@ -22,7 +22,7 @@
#if defined(__cplusplus)
extern "C" {
#if 0
-}
+} /* satisfy cc-mode */
#endif
#endif
@@ -284,7 +284,7 @@ VP_EXPORT int VPrint(FILE *fp,const char *cntl_chr,Real *a);
#if defined(__cplusplus)
#if 0
-{
+{ /* satisfy cc-mode */
#endif
} /* extern "C" { */
#endif
diff --git a/util.c b/util.c
index 37f76c7a7c..39ec3e9783 100644
--- a/util.c
+++ b/util.c
@@ -763,7 +763,7 @@ static double private_mem[PRIVATE_mem], *pmem_next = private_mem;
#ifdef __cplusplus
extern "C" {
#if 0
-}
+} /* satisfy cc-mode */
#endif
#endif
@@ -3899,7 +3899,7 @@ ruby_hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign,
#ifdef __cplusplus
#if 0
-{
+{ /* satisfy cc-mode */
#endif
}
#endif