summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-31 19:26:17 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-31 19:26:17 +0000
commitdcfa26d9a6f914b73171fa3b6f28726a427b347a (patch)
tree1439a449d638a4d9ab3e37e56c424c1622a59ad9 /gcc/c-lang.c
parentea9fc63372209989200bc371d0ad1f4dfa94396d (diff)
downloadgcc-dcfa26d9a6f914b73171fa3b6f28726a427b347a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 98158a1eaef..fb729f326b9 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -45,8 +45,6 @@ enum c_language_kind c_language = clk_c;
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
#undef LANG_HOOKS_HANDLE_OPTION
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
-#undef LANG_HOOKS_HANDLE_FILENAME
-#define LANG_HOOKS_HANDLE_FILENAME c_common_handle_filename
#undef LANG_HOOKS_MISSING_ARGUMENT
#define LANG_HOOKS_MISSING_ARGUMENT c_common_missing_argument
#undef LANG_HOOKS_POST_OPTIONS