ruby-changes:56893
From: Nobuyoshi <ko1@a...>
Date: Fri, 9 Aug 2019 23:09:08 +0900 (JST)
Subject: [ruby-changes:56893] Nobuyoshi Nakada: c9eb8f82e9 (master): Removed unused includes
https://git.ruby-lang.org/ruby.git/commit/?id=c9eb8f82e9 From c9eb8f82e9febeb634a23bec6aeea915eb25fe26 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 9 Aug 2019 20:20:36 +0900 Subject: Removed unused includes diff --git a/enc/depend b/enc/depend index 8bb49eb..0efe565 100644 --- a/enc/depend +++ b/enc/depend @@ -207,19 +207,13 @@ enc/cp949.$(OBJEXT): enc/cp949.c https://github.com/ruby/ruby/blob/trunk/enc/depend#L207 enc/cp949.$(OBJEXT): missing.h enc/cp949.$(OBJEXT): onigmo.h enc/cp949.$(OBJEXT): oniguruma.h -enc/emacs_mule.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/emacs_mule.$(OBJEXT): $(top_srcdir)/regenc.h -enc/emacs_mule.$(OBJEXT): $(top_srcdir)/regint.h -enc/emacs_mule.$(OBJEXT): backward.h enc/emacs_mule.$(OBJEXT): config.h enc/emacs_mule.$(OBJEXT): defines.h enc/emacs_mule.$(OBJEXT): enc/emacs_mule.c -enc/emacs_mule.$(OBJEXT): intern.h enc/emacs_mule.$(OBJEXT): missing.h enc/emacs_mule.$(OBJEXT): onigmo.h enc/emacs_mule.$(OBJEXT): oniguruma.h -enc/emacs_mule.$(OBJEXT): st.h -enc/emacs_mule.$(OBJEXT): subst.h enc/encdb.$(OBJEXT): $(hdrdir)/ruby.h enc/encdb.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/encdb.$(OBJEXT): $(top_srcdir)/internal.h @@ -237,21 +231,15 @@ enc/encdb.$(OBJEXT): onigmo.h https://github.com/ruby/ruby/blob/trunk/enc/depend#L231 enc/encdb.$(OBJEXT): oniguruma.h enc/encdb.$(OBJEXT): st.h enc/encdb.$(OBJEXT): subst.h -enc/euc_jp.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/euc_jp.$(OBJEXT): $(top_srcdir)/regenc.h -enc/euc_jp.$(OBJEXT): $(top_srcdir)/regint.h -enc/euc_jp.$(OBJEXT): backward.h enc/euc_jp.$(OBJEXT): config.h enc/euc_jp.$(OBJEXT): defines.h enc/euc_jp.$(OBJEXT): enc/euc_jp.c enc/euc_jp.$(OBJEXT): enc/jis/props.h enc/euc_jp.$(OBJEXT): enc/jis/props.kwd -enc/euc_jp.$(OBJEXT): intern.h enc/euc_jp.$(OBJEXT): missing.h enc/euc_jp.$(OBJEXT): onigmo.h enc/euc_jp.$(OBJEXT): oniguruma.h -enc/euc_jp.$(OBJEXT): st.h -enc/euc_jp.$(OBJEXT): subst.h enc/euc_kr.$(OBJEXT): $(top_srcdir)/regenc.h enc/euc_kr.$(OBJEXT): config.h enc/euc_kr.$(OBJEXT): defines.h @@ -273,20 +261,13 @@ enc/gb18030.$(OBJEXT): enc/gb18030.c https://github.com/ruby/ruby/blob/trunk/enc/depend#L261 enc/gb18030.$(OBJEXT): missing.h enc/gb18030.$(OBJEXT): onigmo.h enc/gb18030.$(OBJEXT): oniguruma.h -enc/gb2312.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/gb2312.$(OBJEXT): $(top_srcdir)/regenc.h -enc/gb2312.$(OBJEXT): assert.h -enc/gb2312.$(OBJEXT): backward.h enc/gb2312.$(OBJEXT): config.h enc/gb2312.$(OBJEXT): defines.h enc/gb2312.$(OBJEXT): enc/gb2312.c -enc/gb2312.$(OBJEXT): encoding.h -enc/gb2312.$(OBJEXT): intern.h enc/gb2312.$(OBJEXT): missing.h enc/gb2312.$(OBJEXT): onigmo.h enc/gb2312.$(OBJEXT): oniguruma.h -enc/gb2312.$(OBJEXT): st.h -enc/gb2312.$(OBJEXT): subst.h enc/gbk.$(OBJEXT): $(top_srcdir)/regenc.h enc/gbk.$(OBJEXT): config.h enc/gbk.$(OBJEXT): defines.h @@ -423,22 +404,16 @@ enc/koi8_u.$(OBJEXT): enc/koi8_u.c https://github.com/ruby/ruby/blob/trunk/enc/depend#L404 enc/koi8_u.$(OBJEXT): missing.h enc/koi8_u.$(OBJEXT): onigmo.h enc/koi8_u.$(OBJEXT): oniguruma.h -enc/shift_jis.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/shift_jis.$(OBJEXT): $(top_srcdir)/regenc.h -enc/shift_jis.$(OBJEXT): $(top_srcdir)/regint.h -enc/shift_jis.$(OBJEXT): backward.h enc/shift_jis.$(OBJEXT): config.h enc/shift_jis.$(OBJEXT): defines.h enc/shift_jis.$(OBJEXT): enc/jis/props.h enc/shift_jis.$(OBJEXT): enc/jis/props.kwd enc/shift_jis.$(OBJEXT): enc/shift_jis.c enc/shift_jis.$(OBJEXT): enc/shift_jis.h -enc/shift_jis.$(OBJEXT): intern.h enc/shift_jis.$(OBJEXT): missing.h enc/shift_jis.$(OBJEXT): onigmo.h enc/shift_jis.$(OBJEXT): oniguruma.h -enc/shift_jis.$(OBJEXT): st.h -enc/shift_jis.$(OBJEXT): subst.h enc/trans/big5.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/trans/big5.$(OBJEXT): $(top_srcdir)/transcode_data.h enc/trans/big5.$(OBJEXT): assert.h @@ -777,21 +752,14 @@ enc/windows_1257.$(OBJEXT): enc/iso_8859.h https://github.com/ruby/ruby/blob/trunk/enc/depend#L752 enc/windows_1257.$(OBJEXT): enc/windows_1257.c enc/windows_1257.$(OBJEXT): missing.h enc/windows_1257.$(OBJEXT): onigmo.h -enc/windows_31j.$(OBJEXT): $(hdrdir)/ruby/ruby.h enc/windows_31j.$(OBJEXT): $(top_srcdir)/regenc.h -enc/windows_31j.$(OBJEXT): $(top_srcdir)/regint.h -enc/windows_31j.$(OBJEXT): backward.h enc/windows_31j.$(OBJEXT): config.h enc/windows_31j.$(OBJEXT): defines.h enc/windows_31j.$(OBJEXT): enc/jis/props.h enc/windows_31j.$(OBJEXT): enc/jis/props.kwd -enc/windows_31j.$(OBJEXT): enc/shift_jis.c enc/windows_31j.$(OBJEXT): enc/shift_jis.h enc/windows_31j.$(OBJEXT): enc/windows_31j.c -enc/windows_31j.$(OBJEXT): intern.h enc/windows_31j.$(OBJEXT): missing.h enc/windows_31j.$(OBJEXT): onigmo.h enc/windows_31j.$(OBJEXT): oniguruma.h -enc/windows_31j.$(OBJEXT): st.h -enc/windows_31j.$(OBJEXT): subst.h # AUTOGENERATED DEPENDENCIES END diff --git a/enc/gb2312.c b/enc/gb2312.c index 6fc1573..717ad30 100644 --- a/enc/gb2312.c +++ b/enc/gb2312.c @@ -1,5 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/enc/gb2312.c#L1 -#include <ruby/ruby.h> -#include <ruby/encoding.h> #include "regenc.h" void -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/