summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-14 06:19:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-14 06:19:57 +0000
commita23b1f745038f93e5cd2542fbf17b363686ccfd7 (patch)
treeb0374fe6ad0ab3b1d497fff760ae1a13e91508e6 /ext/objspace
parenta979eb4548bf8b8d7479ba83e4a2f25f77175f4d (diff)
* io.c (rb_io_memsize): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index b557cc9..65fa201 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -33,7 +33,7 @@
size_t rb_str_memsize(VALUE);
size_t rb_ary_memsize(VALUE);
-size_t rb_io_memsize(rb_io_t *);
+size_t rb_io_memsize(const rb_io_t *);
size_t rb_generic_ivar_memsize(VALUE);
size_t rb_objspace_data_type_memsize(VALUE obj);