From b37421c62a163edcc389bb32df13b7589cfe5715 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 17 Nov 2010 14:31:07 +0000 Subject: invoke.texi (-dy): Remove. * 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. From-SVN: r166868 --- gcc/langhooks.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/langhooks.c') diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 1f656fe..80efd32 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -62,13 +62,6 @@ lhd_pass_through_t (tree t) return t; } -/* Do nothing (int). */ - -void -lhd_do_nothing_i (int ARG_UNUSED (i)) -{ -} - /* Do nothing (int, int, int). Return NULL_TREE. */ tree -- cgit v1.1