Remove stale declaration for modular GC

This commit is contained in:
Nobuyoshi Nakada 2025-01-11 01:22:26 +09:00
parent eb8f29c46c
commit 4a2702dafb
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
Notes: git 2025-01-10 17:13:55 +00:00
2 changed files with 0 additions and 6 deletions

View file

@ -255,9 +255,6 @@ void ruby_sized_xfree(void *x, size_t size);
const char *rb_gc_active_gc_name(void); const char *rb_gc_active_gc_name(void);
int rb_gc_modular_gc_loaded_p(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 RUBY_SYMBOL_EXPORT_END
int rb_ec_stack_check(struct rb_execution_context_struct *ec); int rb_ec_stack_check(struct rb_execution_context_struct *ec);

3
main.c
View file

@ -24,9 +24,6 @@
#ifdef HAVE_LOCALE_H #ifdef HAVE_LOCALE_H
#include <locale.h> #include <locale.h>
#endif #endif
#if USE_MODULAR_GC
#include "internal/gc.h"
#endif
#if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV #if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV
# define RUBY_DEBUG_ENV 1 # define RUBY_DEBUG_ENV 1