diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-11-17 14:31:07 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-11-17 14:31:07 +0000 |
commit | b37421c62a163edcc389bb32df13b7589cfe5715 (patch) | |
tree | 0d20227504dcaf792fb3e2663879383129b47382 /gcc/lto | |
parent | 073d7052e568286ab54cf68583340cf0c1d70ebe (diff) | |
download | gcc-b37421c62a163edcc389bb32df13b7589cfe5715.zip gcc-b37421c62a163edcc389bb32df13b7589cfe5715.tar.gz gcc-b37421c62a163edcc389bb32df13b7589cfe5715.tar.bz2 |
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
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto/lto.c | 2 | ||||
-rw-r--r-- | gcc/lto/lto.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index c254da1..8b02672 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2010-11-17 Joseph Myers <joseph@codesourcery.com> + + * lto.c (lto_main): Take no arguments. + * lto.h (lto_main): Update prototype. + 2010-11-16 Ian Lance Taylor <iant@google.com> * lto-object.c (lto_obj_file_open): Call diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index d3b9228..44f866a 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -2437,7 +2437,7 @@ lto_process_name (void) simply applies them. */ void -lto_main (int debug_p ATTRIBUTE_UNUSED) +lto_main (void) { lto_process_name (); diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h index 47d9973..8110ace 100644 --- a/gcc/lto/lto.h +++ b/gcc/lto/lto.h @@ -37,7 +37,7 @@ extern const char *resolution_file_name; /* In lto.c */ extern tree lto_eh_personality (void); -extern void lto_main (int); +extern void lto_main (void); extern void lto_read_all_file_options (void); /* In lto-elf.c or lto-coff.c */ |