summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-09 04:10:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-09 04:10:42 +0000
commitac4f9724a87a8ee1c423b6349ec344a906fd7e53 (patch)
treebeb726ffa5258cb4a223dcc1fe98c26b7ace5fcc /st.c
parenta34ecb202826aaba1b39b3b6e0a5a2b9122cec16 (diff)
downloadruby-ac4f9724a87a8ee1c423b6349ec344a906fd7e53.tar.gz
ruby-ac4f9724a87a8ee1c423b6349ec344a906fd7e53.tar.xz
ruby-ac4f9724a87a8ee1c423b6349ec344a906fd7e53.zip
* st.c (st_free_table): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 837fa97fe..9326e6f1a 100644
--- a/st.c
+++ b/st.c
@@ -256,7 +256,7 @@ st_free_table(st_table *table)
}
size_t
-st_memsize(st_table *table)
+st_memsize(const st_table *table)
{
if (table->entries_packed) {
return table->num_bins * sizeof (void *) + sizeof(st_table);