diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:26:06 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:26:06 +0000 |
| commit | 45c4be2723015438d6f41c79430a6df0f1058b2f (patch) | |
| tree | 8baf481eef954bf9285bc756ce9e928733125793 | |
| parent | a1f97737b565dd7a2067260d188d275d77d6d6d6 (diff) | |
| download | ruby-45c4be2723015438d6f41c79430a6df0f1058b2f.tar.gz ruby-45c4be2723015438d6f41c79430a6df0f1058b2f.tar.xz ruby-45c4be2723015438d6f41c79430a6df0f1058b2f.zip | |
* cont.c (cont_memsize, fiber_memsize): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | cont.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,7 +130,7 @@ cont_free(void *ptr) static size_t cont_memsize(const void *ptr) { - rb_context_t *cont = ptr; + const rb_context_t *cont = ptr; size_t size = 0; if (cont) { size = sizeof(*cont); @@ -208,7 +208,7 @@ fiber_free(void *ptr) static size_t fiber_memsize(const void *ptr) { - rb_fiber_t *fib = ptr; + const rb_fiber_t *fib = ptr; size_t size = 0; if (ptr) { size = sizeof(*fib); |
