summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-22 12:12:24 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-22 12:12:24 +0000
commitce5098be90e8129a605d4e3d402375e806aeb2c0 (patch)
tree1ab3accfde5de496846120cbebeb43eabcf3fadd
parentb6cc798e7858b93468d503315dfca2b698aabda1 (diff)
downloadruby-ce5098be90e8129a605d4e3d402375e806aeb2c0.tar.gz
ruby-ce5098be90e8129a605d4e3d402375e806aeb2c0.tar.xz
ruby-ce5098be90e8129a605d4e3d402375e806aeb2c0.zip
* class.c (rb_obj_basic_to_s_p): typo. Please become familiar with
the ANSI style. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--class.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 98eb284ff..421890caa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 22 21:10:39 2009 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * class.c (rb_obj_basic_to_s_p): typo. Please become familiar with
+ the ANSI style.
+
Thu Oct 22 20:20:27 2009 Tanaka Akira <akr@fsij.org>
* test/ruby/envutil.rb (assert_in_out_err): test_stdout and
diff --git a/class.c b/class.c
index 0f4394d97..f8407ca77 100644
--- a/class.c
+++ b/class.c
@@ -1258,7 +1258,7 @@ rb_define_attr(VALUE klass, const char *name, int read, int write)
}
int
-rb_obj_basic_to_s_p(obj)
+rb_obj_basic_to_s_p(VALUE obj)
{
const rb_method_entry_t *me = rb_method_entry(CLASS_OF(obj), rb_intern("to_s"));
if (me && me->def && me->def->type == VM_METHOD_TYPE_CFUNC &&