]> git.ipfire.org Git - thirdparty/gcc.git/commit
opts.c (in_fnames, [...]): Moved here from c-opts.
authorPer Bothner <pbothner@apple.com>
Thu, 31 Jul 2003 19:26:17 +0000 (19:26 +0000)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 31 Jul 2003 19:26:17 +0000 (12:26 -0700)
commit40e941afc1a0d648ba1e42c0d50add96a64b1911
tree1439a449d638a4d9ab3e37e56c424c1622a59ad9
parent17472bb623e869846f6d555995686bc54e499c10
opts.c (in_fnames, [...]): Moved here from c-opts.

* opts.c (in_fnames, num_in_fnames):  Moved here from c-opts.
(add_input_filename):  New function.
(handle_options):  Call add_input_filename directly instead of
with a lang hook.
* opts.h (in_fnames, num_in_fnames):  Moved here.
(add_input_filename):  Declare.
* c-decl.c:  Need to #include opts.h.
* Makefile.in (c-decl.o):  Also depends on opts.h.
* c-opts.c (in_fnames, num_in_fnames):  Moved to opts.c.
(c_common_handle_filename):  Replaced by add_input_filename.
* c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
Remove.
* langhooks.h (struct lang_hooks):  Remove handle_filename hook.
* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
(LANG_HOOKS_INITIALIZER):  Remove use of LANG_HOOKS_HANDLE_FILENAME.
* c-lang.c (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.

From-SVN: r70012
gcc/ChangeLog
gcc/Makefile.in
gcc/c-common.h
gcc/c-decl.c
gcc/c-lang.c
gcc/c-opts.c
gcc/langhooks-def.h
gcc/langhooks.h
gcc/opts.c
gcc/opts.h