diff --git a/include/ruby/impl/anyargs.h b/include/ruby/internal/anyargs.h similarity index 100% rename from include/ruby/impl/anyargs.h rename to include/ruby/internal/anyargs.h diff --git a/include/ruby/impl/arithmetic.h b/include/ruby/internal/arithmetic.h similarity index 100% rename from include/ruby/impl/arithmetic.h rename to include/ruby/internal/arithmetic.h diff --git a/include/ruby/impl/arithmetic/char.h b/include/ruby/internal/arithmetic/char.h similarity index 100% rename from include/ruby/impl/arithmetic/char.h rename to include/ruby/internal/arithmetic/char.h diff --git a/include/ruby/impl/arithmetic/double.h b/include/ruby/internal/arithmetic/double.h similarity index 100% rename from include/ruby/impl/arithmetic/double.h rename to include/ruby/internal/arithmetic/double.h diff --git a/include/ruby/impl/arithmetic/fixnum.h b/include/ruby/internal/arithmetic/fixnum.h similarity index 100% rename from include/ruby/impl/arithmetic/fixnum.h rename to include/ruby/internal/arithmetic/fixnum.h diff --git a/include/ruby/impl/arithmetic/gid_t.h b/include/ruby/internal/arithmetic/gid_t.h similarity index 100% rename from include/ruby/impl/arithmetic/gid_t.h rename to include/ruby/internal/arithmetic/gid_t.h diff --git a/include/ruby/impl/arithmetic/int.h b/include/ruby/internal/arithmetic/int.h similarity index 100% rename from include/ruby/impl/arithmetic/int.h rename to include/ruby/internal/arithmetic/int.h diff --git a/include/ruby/impl/arithmetic/intptr_t.h b/include/ruby/internal/arithmetic/intptr_t.h similarity index 100% rename from include/ruby/impl/arithmetic/intptr_t.h rename to include/ruby/internal/arithmetic/intptr_t.h diff --git a/include/ruby/impl/arithmetic/long.h b/include/ruby/internal/arithmetic/long.h similarity index 100% rename from include/ruby/impl/arithmetic/long.h rename to include/ruby/internal/arithmetic/long.h diff --git a/include/ruby/impl/arithmetic/long_long.h b/include/ruby/internal/arithmetic/long_long.h similarity index 100% rename from include/ruby/impl/arithmetic/long_long.h rename to include/ruby/internal/arithmetic/long_long.h diff --git a/include/ruby/impl/arithmetic/mode_t.h b/include/ruby/internal/arithmetic/mode_t.h similarity index 100% rename from include/ruby/impl/arithmetic/mode_t.h rename to include/ruby/internal/arithmetic/mode_t.h diff --git a/include/ruby/impl/arithmetic/off_t.h b/include/ruby/internal/arithmetic/off_t.h similarity index 100% rename from include/ruby/impl/arithmetic/off_t.h rename to include/ruby/internal/arithmetic/off_t.h diff --git a/include/ruby/impl/arithmetic/pid_t.h b/include/ruby/internal/arithmetic/pid_t.h similarity index 100% rename from include/ruby/impl/arithmetic/pid_t.h rename to include/ruby/internal/arithmetic/pid_t.h diff --git a/include/ruby/impl/arithmetic/short.h b/include/ruby/internal/arithmetic/short.h similarity index 100% rename from include/ruby/impl/arithmetic/short.h rename to include/ruby/internal/arithmetic/short.h diff --git a/include/ruby/impl/arithmetic/size_t.h b/include/ruby/internal/arithmetic/size_t.h similarity index 100% rename from include/ruby/impl/arithmetic/size_t.h rename to include/ruby/internal/arithmetic/size_t.h diff --git a/include/ruby/impl/arithmetic/st_data_t.h b/include/ruby/internal/arithmetic/st_data_t.h similarity index 100% rename from include/ruby/impl/arithmetic/st_data_t.h rename to include/ruby/internal/arithmetic/st_data_t.h diff --git a/include/ruby/impl/arithmetic/uid_t.h b/include/ruby/internal/arithmetic/uid_t.h similarity index 100% rename from include/ruby/impl/arithmetic/uid_t.h rename to include/ruby/internal/arithmetic/uid_t.h diff --git a/include/ruby/impl/assume.h b/include/ruby/internal/assume.h similarity index 100% rename from include/ruby/impl/assume.h rename to include/ruby/internal/assume.h diff --git a/include/ruby/impl/attr/alloc_size.h b/include/ruby/internal/attr/alloc_size.h similarity index 100% rename from include/ruby/impl/attr/alloc_size.h rename to include/ruby/internal/attr/alloc_size.h diff --git a/include/ruby/impl/attr/artificial.h b/include/ruby/internal/attr/artificial.h similarity index 100% rename from include/ruby/impl/attr/artificial.h rename to include/ruby/internal/attr/artificial.h diff --git a/include/ruby/impl/attr/cold.h b/include/ruby/internal/attr/cold.h similarity index 100% rename from include/ruby/impl/attr/cold.h rename to include/ruby/internal/attr/cold.h diff --git a/include/ruby/impl/attr/const.h b/include/ruby/internal/attr/const.h similarity index 100% rename from include/ruby/impl/attr/const.h rename to include/ruby/internal/attr/const.h diff --git a/include/ruby/impl/attr/constexpr.h b/include/ruby/internal/attr/constexpr.h similarity index 100% rename from include/ruby/impl/attr/constexpr.h rename to include/ruby/internal/attr/constexpr.h diff --git a/include/ruby/impl/attr/deprecated.h b/include/ruby/internal/attr/deprecated.h similarity index 100% rename from include/ruby/impl/attr/deprecated.h rename to include/ruby/internal/attr/deprecated.h diff --git a/include/ruby/impl/attr/diagnose_if.h b/include/ruby/internal/attr/diagnose_if.h similarity index 100% rename from include/ruby/impl/attr/diagnose_if.h rename to include/ruby/internal/attr/diagnose_if.h diff --git a/include/ruby/impl/attr/enum_extensibility.h b/include/ruby/internal/attr/enum_extensibility.h similarity index 100% rename from include/ruby/impl/attr/enum_extensibility.h rename to include/ruby/internal/attr/enum_extensibility.h diff --git a/include/ruby/impl/attr/error.h b/include/ruby/internal/attr/error.h similarity index 100% rename from include/ruby/impl/attr/error.h rename to include/ruby/internal/attr/error.h diff --git a/include/ruby/impl/attr/flag_enum.h b/include/ruby/internal/attr/flag_enum.h similarity index 100% rename from include/ruby/impl/attr/flag_enum.h rename to include/ruby/internal/attr/flag_enum.h diff --git a/include/ruby/impl/attr/forceinline.h b/include/ruby/internal/attr/forceinline.h similarity index 100% rename from include/ruby/impl/attr/forceinline.h rename to include/ruby/internal/attr/forceinline.h diff --git a/include/ruby/impl/attr/format.h b/include/ruby/internal/attr/format.h similarity index 100% rename from include/ruby/impl/attr/format.h rename to include/ruby/internal/attr/format.h diff --git a/include/ruby/impl/attr/maybe_unused.h b/include/ruby/internal/attr/maybe_unused.h similarity index 100% rename from include/ruby/impl/attr/maybe_unused.h rename to include/ruby/internal/attr/maybe_unused.h diff --git a/include/ruby/impl/attr/noalias.h b/include/ruby/internal/attr/noalias.h similarity index 100% rename from include/ruby/impl/attr/noalias.h rename to include/ruby/internal/attr/noalias.h diff --git a/include/ruby/impl/attr/nodiscard.h b/include/ruby/internal/attr/nodiscard.h similarity index 100% rename from include/ruby/impl/attr/nodiscard.h rename to include/ruby/internal/attr/nodiscard.h diff --git a/include/ruby/impl/attr/noexcept.h b/include/ruby/internal/attr/noexcept.h similarity index 100% rename from include/ruby/impl/attr/noexcept.h rename to include/ruby/internal/attr/noexcept.h diff --git a/include/ruby/impl/attr/noinline.h b/include/ruby/internal/attr/noinline.h similarity index 100% rename from include/ruby/impl/attr/noinline.h rename to include/ruby/internal/attr/noinline.h diff --git a/include/ruby/impl/attr/nonnull.h b/include/ruby/internal/attr/nonnull.h similarity index 100% rename from include/ruby/impl/attr/nonnull.h rename to include/ruby/internal/attr/nonnull.h diff --git a/include/ruby/impl/attr/noreturn.h b/include/ruby/internal/attr/noreturn.h similarity index 100% rename from include/ruby/impl/attr/noreturn.h rename to include/ruby/internal/attr/noreturn.h diff --git a/include/ruby/impl/attr/pure.h b/include/ruby/internal/attr/pure.h similarity index 100% rename from include/ruby/impl/attr/pure.h rename to include/ruby/internal/attr/pure.h diff --git a/include/ruby/impl/attr/restrict.h b/include/ruby/internal/attr/restrict.h similarity index 100% rename from include/ruby/impl/attr/restrict.h rename to include/ruby/internal/attr/restrict.h diff --git a/include/ruby/impl/attr/returns_nonnull.h b/include/ruby/internal/attr/returns_nonnull.h similarity index 100% rename from include/ruby/impl/attr/returns_nonnull.h rename to include/ruby/internal/attr/returns_nonnull.h diff --git a/include/ruby/impl/attr/warning.h b/include/ruby/internal/attr/warning.h similarity index 100% rename from include/ruby/impl/attr/warning.h rename to include/ruby/internal/attr/warning.h diff --git a/include/ruby/impl/attr/weakref.h b/include/ruby/internal/attr/weakref.h similarity index 100% rename from include/ruby/impl/attr/weakref.h rename to include/ruby/internal/attr/weakref.h diff --git a/include/ruby/impl/cast.h b/include/ruby/internal/cast.h similarity index 100% rename from include/ruby/impl/cast.h rename to include/ruby/internal/cast.h diff --git a/include/ruby/impl/compiler_is.h b/include/ruby/internal/compiler_is.h similarity index 100% rename from include/ruby/impl/compiler_is.h rename to include/ruby/internal/compiler_is.h diff --git a/include/ruby/impl/compiler_is/apple.h b/include/ruby/internal/compiler_is/apple.h similarity index 100% rename from include/ruby/impl/compiler_is/apple.h rename to include/ruby/internal/compiler_is/apple.h diff --git a/include/ruby/impl/compiler_is/clang.h b/include/ruby/internal/compiler_is/clang.h similarity index 100% rename from include/ruby/impl/compiler_is/clang.h rename to include/ruby/internal/compiler_is/clang.h diff --git a/include/ruby/impl/compiler_is/gcc.h b/include/ruby/internal/compiler_is/gcc.h similarity index 100% rename from include/ruby/impl/compiler_is/gcc.h rename to include/ruby/internal/compiler_is/gcc.h diff --git a/include/ruby/impl/compiler_is/intel.h b/include/ruby/internal/compiler_is/intel.h similarity index 100% rename from include/ruby/impl/compiler_is/intel.h rename to include/ruby/internal/compiler_is/intel.h diff --git a/include/ruby/impl/compiler_is/msvc.h b/include/ruby/internal/compiler_is/msvc.h similarity index 100% rename from include/ruby/impl/compiler_is/msvc.h rename to include/ruby/internal/compiler_is/msvc.h diff --git a/include/ruby/impl/compiler_is/sunpro.h b/include/ruby/internal/compiler_is/sunpro.h similarity index 100% rename from include/ruby/impl/compiler_is/sunpro.h rename to include/ruby/internal/compiler_is/sunpro.h diff --git a/include/ruby/impl/compiler_since.h b/include/ruby/internal/compiler_since.h similarity index 100% rename from include/ruby/impl/compiler_since.h rename to include/ruby/internal/compiler_since.h diff --git a/include/ruby/impl/config.h b/include/ruby/internal/config.h similarity index 100% rename from include/ruby/impl/config.h rename to include/ruby/internal/config.h diff --git a/include/ruby/impl/constant_p.h b/include/ruby/internal/constant_p.h similarity index 100% rename from include/ruby/impl/constant_p.h rename to include/ruby/internal/constant_p.h diff --git a/include/ruby/impl/core.h b/include/ruby/internal/core.h similarity index 100% rename from include/ruby/impl/core.h rename to include/ruby/internal/core.h diff --git a/include/ruby/impl/core/rarray.h b/include/ruby/internal/core/rarray.h similarity index 100% rename from include/ruby/impl/core/rarray.h rename to include/ruby/internal/core/rarray.h diff --git a/include/ruby/impl/core/rbasic.h b/include/ruby/internal/core/rbasic.h similarity index 100% rename from include/ruby/impl/core/rbasic.h rename to include/ruby/internal/core/rbasic.h diff --git a/include/ruby/impl/core/rbignum.h b/include/ruby/internal/core/rbignum.h similarity index 100% rename from include/ruby/impl/core/rbignum.h rename to include/ruby/internal/core/rbignum.h diff --git a/include/ruby/impl/core/rclass.h b/include/ruby/internal/core/rclass.h similarity index 100% rename from include/ruby/impl/core/rclass.h rename to include/ruby/internal/core/rclass.h diff --git a/include/ruby/impl/core/rdata.h b/include/ruby/internal/core/rdata.h similarity index 100% rename from include/ruby/impl/core/rdata.h rename to include/ruby/internal/core/rdata.h diff --git a/include/ruby/impl/core/rfile.h b/include/ruby/internal/core/rfile.h similarity index 100% rename from include/ruby/impl/core/rfile.h rename to include/ruby/internal/core/rfile.h diff --git a/include/ruby/impl/core/rhash.h b/include/ruby/internal/core/rhash.h similarity index 100% rename from include/ruby/impl/core/rhash.h rename to include/ruby/internal/core/rhash.h diff --git a/include/ruby/impl/core/rmatch.h b/include/ruby/internal/core/rmatch.h similarity index 100% rename from include/ruby/impl/core/rmatch.h rename to include/ruby/internal/core/rmatch.h diff --git a/include/ruby/impl/core/robject.h b/include/ruby/internal/core/robject.h similarity index 100% rename from include/ruby/impl/core/robject.h rename to include/ruby/internal/core/robject.h diff --git a/include/ruby/impl/core/rregexp.h b/include/ruby/internal/core/rregexp.h similarity index 100% rename from include/ruby/impl/core/rregexp.h rename to include/ruby/internal/core/rregexp.h diff --git a/include/ruby/impl/core/rstring.h b/include/ruby/internal/core/rstring.h similarity index 100% rename from include/ruby/impl/core/rstring.h rename to include/ruby/internal/core/rstring.h diff --git a/include/ruby/impl/core/rstruct.h b/include/ruby/internal/core/rstruct.h similarity index 100% rename from include/ruby/impl/core/rstruct.h rename to include/ruby/internal/core/rstruct.h diff --git a/include/ruby/impl/core/rtypeddata.h b/include/ruby/internal/core/rtypeddata.h similarity index 100% rename from include/ruby/impl/core/rtypeddata.h rename to include/ruby/internal/core/rtypeddata.h diff --git a/include/ruby/impl/ctype.h b/include/ruby/internal/ctype.h similarity index 100% rename from include/ruby/impl/ctype.h rename to include/ruby/internal/ctype.h diff --git a/include/ruby/impl/dllexport.h b/include/ruby/internal/dllexport.h similarity index 100% rename from include/ruby/impl/dllexport.h rename to include/ruby/internal/dllexport.h diff --git a/include/ruby/impl/dosish.h b/include/ruby/internal/dosish.h similarity index 100% rename from include/ruby/impl/dosish.h rename to include/ruby/internal/dosish.h diff --git a/include/ruby/impl/error.h b/include/ruby/internal/error.h similarity index 100% rename from include/ruby/impl/error.h rename to include/ruby/internal/error.h diff --git a/include/ruby/impl/eval.h b/include/ruby/internal/eval.h similarity index 100% rename from include/ruby/impl/eval.h rename to include/ruby/internal/eval.h diff --git a/include/ruby/impl/event.h b/include/ruby/internal/event.h similarity index 100% rename from include/ruby/impl/event.h rename to include/ruby/internal/event.h diff --git a/include/ruby/impl/fl_type.h b/include/ruby/internal/fl_type.h similarity index 100% rename from include/ruby/impl/fl_type.h rename to include/ruby/internal/fl_type.h diff --git a/include/ruby/impl/gc.h b/include/ruby/internal/gc.h similarity index 100% rename from include/ruby/impl/gc.h rename to include/ruby/internal/gc.h diff --git a/include/ruby/impl/glob.h b/include/ruby/internal/glob.h similarity index 100% rename from include/ruby/impl/glob.h rename to include/ruby/internal/glob.h diff --git a/include/ruby/impl/globals.h b/include/ruby/internal/globals.h similarity index 100% rename from include/ruby/impl/globals.h rename to include/ruby/internal/globals.h diff --git a/include/ruby/impl/has/attribute.h b/include/ruby/internal/has/attribute.h similarity index 100% rename from include/ruby/impl/has/attribute.h rename to include/ruby/internal/has/attribute.h diff --git a/include/ruby/impl/has/builtin.h b/include/ruby/internal/has/builtin.h similarity index 100% rename from include/ruby/impl/has/builtin.h rename to include/ruby/internal/has/builtin.h diff --git a/include/ruby/impl/has/c_attribute.h b/include/ruby/internal/has/c_attribute.h similarity index 100% rename from include/ruby/impl/has/c_attribute.h rename to include/ruby/internal/has/c_attribute.h diff --git a/include/ruby/impl/has/cpp_attribute.h b/include/ruby/internal/has/cpp_attribute.h similarity index 100% rename from include/ruby/impl/has/cpp_attribute.h rename to include/ruby/internal/has/cpp_attribute.h diff --git a/include/ruby/impl/has/declspec_attribute.h b/include/ruby/internal/has/declspec_attribute.h similarity index 100% rename from include/ruby/impl/has/declspec_attribute.h rename to include/ruby/internal/has/declspec_attribute.h diff --git a/include/ruby/impl/has/extension.h b/include/ruby/internal/has/extension.h similarity index 100% rename from include/ruby/impl/has/extension.h rename to include/ruby/internal/has/extension.h diff --git a/include/ruby/impl/has/feature.h b/include/ruby/internal/has/feature.h similarity index 100% rename from include/ruby/impl/has/feature.h rename to include/ruby/internal/has/feature.h diff --git a/include/ruby/impl/has/warning.h b/include/ruby/internal/has/warning.h similarity index 100% rename from include/ruby/impl/has/warning.h rename to include/ruby/internal/has/warning.h diff --git a/include/ruby/impl/intern/array.h b/include/ruby/internal/intern/array.h similarity index 100% rename from include/ruby/impl/intern/array.h rename to include/ruby/internal/intern/array.h diff --git a/include/ruby/impl/intern/bignum.h b/include/ruby/internal/intern/bignum.h similarity index 100% rename from include/ruby/impl/intern/bignum.h rename to include/ruby/internal/intern/bignum.h diff --git a/include/ruby/impl/intern/class.h b/include/ruby/internal/intern/class.h similarity index 100% rename from include/ruby/impl/intern/class.h rename to include/ruby/internal/intern/class.h diff --git a/include/ruby/impl/intern/compar.h b/include/ruby/internal/intern/compar.h similarity index 100% rename from include/ruby/impl/intern/compar.h rename to include/ruby/internal/intern/compar.h diff --git a/include/ruby/impl/intern/complex.h b/include/ruby/internal/intern/complex.h similarity index 100% rename from include/ruby/impl/intern/complex.h rename to include/ruby/internal/intern/complex.h diff --git a/include/ruby/impl/intern/cont.h b/include/ruby/internal/intern/cont.h similarity index 100% rename from include/ruby/impl/intern/cont.h rename to include/ruby/internal/intern/cont.h diff --git a/include/ruby/impl/intern/dir.h b/include/ruby/internal/intern/dir.h similarity index 100% rename from include/ruby/impl/intern/dir.h rename to include/ruby/internal/intern/dir.h diff --git a/include/ruby/impl/intern/enum.h b/include/ruby/internal/intern/enum.h similarity index 100% rename from include/ruby/impl/intern/enum.h rename to include/ruby/internal/intern/enum.h diff --git a/include/ruby/impl/intern/enumerator.h b/include/ruby/internal/intern/enumerator.h similarity index 100% rename from include/ruby/impl/intern/enumerator.h rename to include/ruby/internal/intern/enumerator.h diff --git a/include/ruby/impl/intern/error.h b/include/ruby/internal/intern/error.h similarity index 100% rename from include/ruby/impl/intern/error.h rename to include/ruby/internal/intern/error.h diff --git a/include/ruby/impl/intern/eval.h b/include/ruby/internal/intern/eval.h similarity index 100% rename from include/ruby/impl/intern/eval.h rename to include/ruby/internal/intern/eval.h diff --git a/include/ruby/impl/intern/file.h b/include/ruby/internal/intern/file.h similarity index 100% rename from include/ruby/impl/intern/file.h rename to include/ruby/internal/intern/file.h diff --git a/include/ruby/impl/intern/gc.h b/include/ruby/internal/intern/gc.h similarity index 100% rename from include/ruby/impl/intern/gc.h rename to include/ruby/internal/intern/gc.h diff --git a/include/ruby/impl/intern/hash.h b/include/ruby/internal/intern/hash.h similarity index 100% rename from include/ruby/impl/intern/hash.h rename to include/ruby/internal/intern/hash.h diff --git a/include/ruby/impl/intern/io.h b/include/ruby/internal/intern/io.h similarity index 100% rename from include/ruby/impl/intern/io.h rename to include/ruby/internal/intern/io.h diff --git a/include/ruby/impl/intern/load.h b/include/ruby/internal/intern/load.h similarity index 100% rename from include/ruby/impl/intern/load.h rename to include/ruby/internal/intern/load.h diff --git a/include/ruby/impl/intern/marshal.h b/include/ruby/internal/intern/marshal.h similarity index 100% rename from include/ruby/impl/intern/marshal.h rename to include/ruby/internal/intern/marshal.h diff --git a/include/ruby/impl/intern/numeric.h b/include/ruby/internal/intern/numeric.h similarity index 100% rename from include/ruby/impl/intern/numeric.h rename to include/ruby/internal/intern/numeric.h diff --git a/include/ruby/impl/intern/object.h b/include/ruby/internal/intern/object.h similarity index 100% rename from include/ruby/impl/intern/object.h rename to include/ruby/internal/intern/object.h diff --git a/include/ruby/impl/intern/parse.h b/include/ruby/internal/intern/parse.h similarity index 100% rename from include/ruby/impl/intern/parse.h rename to include/ruby/internal/intern/parse.h diff --git a/include/ruby/impl/intern/proc.h b/include/ruby/internal/intern/proc.h similarity index 100% rename from include/ruby/impl/intern/proc.h rename to include/ruby/internal/intern/proc.h diff --git a/include/ruby/impl/intern/process.h b/include/ruby/internal/intern/process.h similarity index 100% rename from include/ruby/impl/intern/process.h rename to include/ruby/internal/intern/process.h diff --git a/include/ruby/impl/intern/random.h b/include/ruby/internal/intern/random.h similarity index 100% rename from include/ruby/impl/intern/random.h rename to include/ruby/internal/intern/random.h diff --git a/include/ruby/impl/intern/range.h b/include/ruby/internal/intern/range.h similarity index 100% rename from include/ruby/impl/intern/range.h rename to include/ruby/internal/intern/range.h diff --git a/include/ruby/impl/intern/rational.h b/include/ruby/internal/intern/rational.h similarity index 100% rename from include/ruby/impl/intern/rational.h rename to include/ruby/internal/intern/rational.h diff --git a/include/ruby/impl/intern/re.h b/include/ruby/internal/intern/re.h similarity index 100% rename from include/ruby/impl/intern/re.h rename to include/ruby/internal/intern/re.h diff --git a/include/ruby/impl/intern/ruby.h b/include/ruby/internal/intern/ruby.h similarity index 100% rename from include/ruby/impl/intern/ruby.h rename to include/ruby/internal/intern/ruby.h diff --git a/include/ruby/impl/intern/select.h b/include/ruby/internal/intern/select.h similarity index 100% rename from include/ruby/impl/intern/select.h rename to include/ruby/internal/intern/select.h diff --git a/include/ruby/impl/intern/select/largesize.h b/include/ruby/internal/intern/select/largesize.h similarity index 100% rename from include/ruby/impl/intern/select/largesize.h rename to include/ruby/internal/intern/select/largesize.h diff --git a/include/ruby/impl/intern/select/posix.h b/include/ruby/internal/intern/select/posix.h similarity index 100% rename from include/ruby/impl/intern/select/posix.h rename to include/ruby/internal/intern/select/posix.h diff --git a/include/ruby/impl/intern/select/win32.h b/include/ruby/internal/intern/select/win32.h similarity index 100% rename from include/ruby/impl/intern/select/win32.h rename to include/ruby/internal/intern/select/win32.h diff --git a/include/ruby/impl/intern/signal.h b/include/ruby/internal/intern/signal.h similarity index 100% rename from include/ruby/impl/intern/signal.h rename to include/ruby/internal/intern/signal.h diff --git a/include/ruby/impl/intern/sprintf.h b/include/ruby/internal/intern/sprintf.h similarity index 100% rename from include/ruby/impl/intern/sprintf.h rename to include/ruby/internal/intern/sprintf.h diff --git a/include/ruby/impl/intern/string.h b/include/ruby/internal/intern/string.h similarity index 100% rename from include/ruby/impl/intern/string.h rename to include/ruby/internal/intern/string.h diff --git a/include/ruby/impl/intern/struct.h b/include/ruby/internal/intern/struct.h similarity index 100% rename from include/ruby/impl/intern/struct.h rename to include/ruby/internal/intern/struct.h diff --git a/include/ruby/impl/intern/thread.h b/include/ruby/internal/intern/thread.h similarity index 100% rename from include/ruby/impl/intern/thread.h rename to include/ruby/internal/intern/thread.h diff --git a/include/ruby/impl/intern/time.h b/include/ruby/internal/intern/time.h similarity index 100% rename from include/ruby/impl/intern/time.h rename to include/ruby/internal/intern/time.h diff --git a/include/ruby/impl/intern/variable.h b/include/ruby/internal/intern/variable.h similarity index 100% rename from include/ruby/impl/intern/variable.h rename to include/ruby/internal/intern/variable.h diff --git a/include/ruby/impl/intern/vm.h b/include/ruby/internal/intern/vm.h similarity index 100% rename from include/ruby/impl/intern/vm.h rename to include/ruby/internal/intern/vm.h diff --git a/include/ruby/impl/interpreter.h b/include/ruby/internal/interpreter.h similarity index 100% rename from include/ruby/impl/interpreter.h rename to include/ruby/internal/interpreter.h diff --git a/include/ruby/impl/iterator.h b/include/ruby/internal/iterator.h similarity index 100% rename from include/ruby/impl/iterator.h rename to include/ruby/internal/iterator.h diff --git a/include/ruby/impl/memory.h b/include/ruby/internal/memory.h similarity index 100% rename from include/ruby/impl/memory.h rename to include/ruby/internal/memory.h diff --git a/include/ruby/impl/method.h b/include/ruby/internal/method.h similarity index 100% rename from include/ruby/impl/method.h rename to include/ruby/internal/method.h diff --git a/include/ruby/impl/module.h b/include/ruby/internal/module.h similarity index 100% rename from include/ruby/impl/module.h rename to include/ruby/internal/module.h diff --git a/include/ruby/impl/newobj.h b/include/ruby/internal/newobj.h similarity index 100% rename from include/ruby/impl/newobj.h rename to include/ruby/internal/newobj.h diff --git a/include/ruby/impl/rgengc.h b/include/ruby/internal/rgengc.h similarity index 100% rename from include/ruby/impl/rgengc.h rename to include/ruby/internal/rgengc.h diff --git a/include/ruby/impl/scan_args.h b/include/ruby/internal/scan_args.h similarity index 100% rename from include/ruby/impl/scan_args.h rename to include/ruby/internal/scan_args.h diff --git a/include/ruby/impl/special_consts.h b/include/ruby/internal/special_consts.h similarity index 100% rename from include/ruby/impl/special_consts.h rename to include/ruby/internal/special_consts.h diff --git a/include/ruby/impl/static_assert.h b/include/ruby/internal/static_assert.h similarity index 100% rename from include/ruby/impl/static_assert.h rename to include/ruby/internal/static_assert.h diff --git a/include/ruby/impl/stdalign.h b/include/ruby/internal/stdalign.h similarity index 100% rename from include/ruby/impl/stdalign.h rename to include/ruby/internal/stdalign.h diff --git a/include/ruby/impl/stdbool.h b/include/ruby/internal/stdbool.h similarity index 100% rename from include/ruby/impl/stdbool.h rename to include/ruby/internal/stdbool.h diff --git a/include/ruby/impl/symbol.h b/include/ruby/internal/symbol.h similarity index 100% rename from include/ruby/impl/symbol.h rename to include/ruby/internal/symbol.h diff --git a/include/ruby/impl/token_paste.h b/include/ruby/internal/token_paste.h similarity index 100% rename from include/ruby/impl/token_paste.h rename to include/ruby/internal/token_paste.h diff --git a/include/ruby/impl/value.h b/include/ruby/internal/value.h similarity index 100% rename from include/ruby/impl/value.h rename to include/ruby/internal/value.h diff --git a/include/ruby/impl/value_type.h b/include/ruby/internal/value_type.h similarity index 100% rename from include/ruby/impl/value_type.h rename to include/ruby/internal/value_type.h diff --git a/include/ruby/impl/variable.h b/include/ruby/internal/variable.h similarity index 100% rename from include/ruby/impl/variable.h rename to include/ruby/internal/variable.h diff --git a/include/ruby/impl/warning_push.h b/include/ruby/internal/warning_push.h similarity index 100% rename from include/ruby/impl/warning_push.h rename to include/ruby/internal/warning_push.h diff --git a/include/ruby/impl/xmalloc.h b/include/ruby/internal/xmalloc.h similarity index 100% rename from include/ruby/impl/xmalloc.h rename to include/ruby/internal/xmalloc.h