From b8ba44e77a9fdde48ce0b7c6792736996704501e Mon Sep 17 00:00:00 2001 From: jsm28 Date: Wed, 17 Nov 2010 14:31:07 +0000 Subject: * doc/invoke.texi (-dy): Remove. * langhooks-def.h (lhd_do_nothing_i): Don't declare. (LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing. * langhooks.c (lhd_do_nothing_i): Remove. * langhooks.h (lang_hooks.parse_file): Take no arguments. * toplev.c (set_yydebug): Remove. (compile_file): Update call to lang_hooks.parse_file. (decode_d_option): Don't handle -dy. ada: * gcc-interface/misc.c (gnat_parse_file): Take no arguments. c-family: * c-opts.c (c_common_parse_file): Take no arguments. * c-common.h (c_common_parse_file): Update prototype. fortran: * f95-lang.c (gfc_be_parse_file): Take no arguments. java: * jcf-parse.c (java_parse_file): Take no arguments. * java-tree.h (java_parse_file): Update prototype. lto: * lto.c (lto_main): Take no arguments. * lto.h (lto_main): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166868 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/langhooks-def.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/langhooks-def.h') diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h index 822925fcb0e..961e929b61f 100644 --- a/gcc/langhooks-def.h +++ b/gcc/langhooks-def.h @@ -37,7 +37,6 @@ struct diagnostic_info; extern void lhd_do_nothing (void); extern void lhd_do_nothing_t (tree); -extern void lhd_do_nothing_i (int); extern void lhd_do_nothing_f (struct function *); extern tree lhd_pass_through_t (tree); extern bool lhd_post_options (const char **); @@ -85,7 +84,7 @@ extern void lhd_omp_firstprivatize_type_sizes (struct gimplify_omp_ctx *, #define LANG_HOOKS_IDENTIFIER_SIZE sizeof (struct lang_identifier) #define LANG_HOOKS_INIT hook_bool_void_false #define LANG_HOOKS_FINISH lhd_do_nothing -#define LANG_HOOKS_PARSE_FILE lhd_do_nothing_i +#define LANG_HOOKS_PARSE_FILE lhd_do_nothing #define LANG_HOOKS_OPTION_LANG_MASK hook_uint_void_0 #define LANG_HOOKS_INIT_OPTIONS_STRUCT hook_void_gcc_optionsp #define LANG_HOOKS_INIT_OPTIONS lhd_init_options -- cgit v1.2.1