summaryrefslogtreecommitdiff
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
commit78ab4258ff3836ac40a8d5df00156bfe3bb1d638 (patch)
treebeb726ffa5258cb4a223dcc1fe98c26b7ace5fcc /st.c
parentfb532ac7a99c7b7360921595f45b9f478c13637e (diff)
* st.c (st_free_table): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 837fa97..9326e6f 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);