summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-24 04:14:22 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-24 04:14:22 +0000
commitbda726223f88b12e31634daecbe75cecb1885640 (patch)
treee15972bb1355a3cade3a336c09807d5dd1703113 /gc.c
parentf0a435c18725318eae1bfb3dfd15c457f511d814 (diff)
fix the function name which is not grammatically correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index 28feabcc9e..036477e997 100644
--- a/gc.c
+++ b/gc.c
@@ -360,7 +360,7 @@ static void init_mark_stack(mark_stack_t *stack);
static VALUE lazy_sweep_enable(void);
static int garbage_collect(rb_objspace_t *);
-static int free_object_aquire(rb_objspace_t *);
+static int gc_aquire_free_object(rb_objspace_t *);
static void mark_tbl(rb_objspace_t *, st_table *);
static void rest_sweep(rb_objspace_t *);
static void gc_mark_stacked_objects(rb_objspace_t *);
@@ -666,7 +666,7 @@ newobj(VALUE klass, VALUE flags)
}
if (UNLIKELY(!has_free_object)) {
- if (!free_object_aquire(objspace)) {
+ if (!gc_aquire_free_object(objspace)) {
during_gc = 0;
rb_memerror();
}
@@ -2044,7 +2044,7 @@ rest_sweep(rb_objspace_t *objspace)
static void gc_marks(rb_objspace_t *objspace);
static int
-free_object_aquire(rb_objspace_t *objspace)
+gc_aquire_free_object(rb_objspace_t *objspace)
{
int res;