summaryrefslogtreecommitdiff
path: root/io.c
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 /io.c
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 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index e92c881..8fbb6cb 100644
--- a/io.c
+++ b/io.c
@@ -3536,7 +3536,7 @@ rb_io_fptr_finalize(rb_io_t *fptr)
size_t rb_econv_memsize(rb_econv_t *);
size_t
-rb_io_memsize(rb_io_t *fptr)
+rb_io_memsize(const rb_io_t *fptr)
{
size_t size = sizeof(rb_io_t);
size += fptr->rbuf_capa;