summaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-27 18:16:49 +0000
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-27 18:16:49 +0000
commit83a070d097f99d06eb00fd6d3ea33d4aa4336afd (patch)
treeae6a831680a4a8773039866e4630fca3682dcab3 /gcc/java/decl.c
parentdec00f2017a1601ab1b770b4b01e42f18d9092fc (diff)
downloadgcc-83a070d097f99d06eb00fd6d3ea33d4aa4336afd.tar.gz
Formatting fixes.
* expr.c (class_has_finalize_method): Fix method name indentation. (expand_java_call): Remove K&R style parameter declaration. (expand_invoke): Fix statement indentation. (expand_java_field_op): Likewise. * parse-scan.y: Fix typo. (reset_report): Fix method name indentation. * parse.y (unresolved_type_p, build_expr_block): Remove extra blank line. Fix typos. * verify.c (verify_jvm_instructions): Document parameters, insert page break. * lang.c (lang_init_source): Fix method name indentation. * class.c (common_enclosing_context_p): Likewise. (emit_symbol_table): Fix parameter list indentation. * decl.c (add_stmt_to_compound, java_add_stmt): Remove K&R style parameter declaration. * constants.c: Fix copyright notice indentation. * typeck.c (find_method_in_superclasses): Fix parameter list indentation. (find_method_in_interfaces): Likewise. * zextract.c (makelong): Fix method name indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index db851aa1c30..682c8b3e3fd 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1877,8 +1877,7 @@ java_mark_class_local (tree class)
/* Add a statement to a compound_expr. */
tree
-add_stmt_to_compound (existing, type, stmt)
- tree existing, type, stmt;
+add_stmt_to_compound (tree existing, tree type, tree stmt)
{
if (!stmt)
return existing;
@@ -1897,8 +1896,7 @@ add_stmt_to_compound (existing, type, stmt)
constructed. */
tree
-java_add_stmt (stmt)
- tree stmt;
+java_add_stmt (tree stmt)
{
if (input_filename)
annotate_with_locus (stmt, input_location);