summaryrefslogtreecommitdiff
path: root/gcc/java/jcf-dump.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-30 18:31:34 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-30 18:31:34 +0000
commit475a53d2f099d64ed50a4bcf451a2a71d7514151 (patch)
treec33f7ed979269396307f864e8147d16d6e3382c4 /gcc/java/jcf-dump.c
parenta8d86c7ad0a6b92b96025ac6dc6e1f6f1a8bdd83 (diff)
downloadgcc-475a53d2f099d64ed50a4bcf451a2a71d7514151.tar.gz
Warning fixes:
* expr.c (build_java_soft_divmod): Provide a default case in switch. (java_lang_expand_expr): Mark parameters `target', `tmode' and `modifier' with ATTRIBUTE_UNUSED. * gjavah.c (process_file): Add braces around ambiguous `else'. * jcf-dump.c (print_access_flags, localvar_free): Change return type to void. * parse.y (java_complete_expand_method): Initialize variable `exception_copy'. (resolve_qualified_expression_name): Likewise for `field_decl'. (patch_method_invocation): Likewise for `class_to_search'. (qualify_ambiguous_name): Likewise for `name' and `ptr_type'. (patch_assignment): Likewise for `lhs_type'. * verify.c (verify_jvm_instructions): Remove unused variable `caller'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r--gcc/java/jcf-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index 6d3e37253b3..a26a6fbbfca 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -78,7 +78,7 @@ int class_access_flags = 0;
/* Print in format similar to javap. VERY IMCOMPLETE. */
int flag_javap_compatible = 0;
-static int print_access_flags PROTO ((FILE *, uint16, char));
+static void print_access_flags PROTO ((FILE *, uint16, char));
static void print_constant_terse PROTO ((FILE*, JCF*, int, int));
static void print_constant PROTO ((FILE *, JCF *, int, int));
static void print_constant_ref PROTO ((FILE *, JCF *, int));
@@ -311,7 +311,7 @@ DEFUN(print_constant_ref, (stream, jcf, index),
The CONTEXT is one of 'c' (class flags), 'f' (field flags),
or 'm' (method flags). */
-static int
+static void
DEFUN (print_access_flags, (stream, flags, context),
FILE *stream AND uint16 flags AND char context)
{