class.c (assume_compiled, [...]): Add static prototype.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 31 Dec 1999 03:30:22 +0000 (03:30 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 31 Dec 1999 03:30:22 +0000 (03:30 +0000)
commitc63b98cdad0bfd07d732fffbf6013893a919bfeb
treef85ebd132a52c9f4368a95dcbccd79d8403b7c9d
parent6bafd8b6e9fcf4c7a9606af4fc7965717c43a161
class.c (assume_compiled, [...]): Add static prototype.

* class.c (assume_compiled, assume_compiled_node): Add static
prototype.
(add_assume_compiled): Use xmalloc/xstrdup, not malloc/strdup.

* jcf-dump.c (ARRAY_NEW_NUM): Cast long to int in switch.

* jvgenmain.c (usage): Add static prototype with ATTRIBUTE_NORETURN.

* parse.h (OBSOLETE_MODIFIER_WARNING): Rename parameter `modifier'
to `__modifier' to avoid stringifying it.

* parse.y (verify_constructor_circularity): Don't call a variadic
function with a non-literal format string.
(java_check_abstract_methods): Move unreachable code inside
`continue' statement.
(lookup_method_invoke): Call xstrdup, not strdup.

* expr.c (expand_java_field_op): Avoid the use of ANSI string
concatenation.

* jcf-parse.c (yyparse): Likewise.

* jv-scan.c (main): Likewise.

From-SVN: r31148
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/expr.c
gcc/java/jcf-dump.c
gcc/java/jcf-parse.c
gcc/java/jv-scan.c
gcc/java/jvgenmain.c
gcc/java/parse.c
gcc/java/parse.h
gcc/java/parse.y