summaryrefslogtreecommitdiffstats
path: root/class.c
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 /class.c
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
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 1 insertions, 1 deletions
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 &&