Skip to content

Commit

Permalink
Remove stale declaration for modular GC
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jan 10, 2025
1 parent eb8f29c commit 4a2702d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions internal/gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,6 @@ void ruby_sized_xfree(void *x, size_t size);
const char *rb_gc_active_gc_name(void);
int rb_gc_modular_gc_loaded_p(void);

#if USE_MODULAR_GC
void ruby_load_modular_gc_from_argv(int argc, char **argv);
#endif
RUBY_SYMBOL_EXPORT_END

int rb_ec_stack_check(struct rb_execution_context_struct *ec);
Expand Down
3 changes: 0 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#if USE_MODULAR_GC
#include "internal/gc.h"
#endif

#if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV
# define RUBY_DEBUG_ENV 1
Expand Down

0 comments on commit 4a2702d

Please sign in to comment.