summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
commitb8ba44e77a9fdde48ce0b7c6792736996704501e (patch)
tree0d20227504dcaf792fb3e2663879383129b47382 /gcc/java
parentfc2596c8b958ac6626601b8dd7e5ba25fc64f006 (diff)
downloadgcc-b8ba44e77a9fdde48ce0b7c6792736996704501e.tar.gz
* 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
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/java-tree.h2
-rw-r--r--gcc/java/jcf-parse.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 825f02fc11b..05cbb037509 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * jcf-parse.c (java_parse_file): Take no arguments.
+ * java-tree.h (java_parse_file): Update prototype.
+
2010-11-09 Joern Rennecke <amylaar@spamcop.net>
Andrew Haley <aph@redhat.com>
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index d7c9996c5cd..3addcca09e7 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -939,7 +939,7 @@ struct GTY((variable_size)) lang_type {
/* Defined in java-except.h */
struct eh_range;
-extern void java_parse_file (int);
+extern void java_parse_file (void);
extern tree java_type_for_mode (enum machine_mode, int);
extern tree java_type_for_size (unsigned int, int);
extern tree java_truthvalue_conversion (tree);
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index ce1de5ae79d..28d9ad44222 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -1732,7 +1732,7 @@ java_emit_static_constructor (void)
void
-java_parse_file (int set_yydebug ATTRIBUTE_UNUSED)
+java_parse_file (void)
{
int filename_count = 0;
location_t save_location = input_location;