summaryrefslogtreecommitdiffstats
path: root/gcc/java/parse.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-05 13:04:38 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-05 13:04:38 +0000
commitda09d1fd618a9e655d267215aeaa5ca0e75f0857 (patch)
tree02f0a041c4f9169cbd8607135939b4e843e232ba /gcc/java/parse.c
parent185ee0b4cf1bb83e8d285f30de81fec8ecfcb252 (diff)
downloadppe42-gcc-da09d1fd618a9e655d267215aeaa5ca0e75f0857.tar.gz
ppe42-gcc-da09d1fd618a9e655d267215aeaa5ca0e75f0857.zip
* class.c (add_method_1): Cast the argument of `bzero' to PTR.
* decl.c (copy_lang_decl): Likewise for `bcopy'. * jcf-depend.c: Include "config.h", not <config.h>. * jcf-parse.c (jcf_figure_file_type): Cast the arguments of `bcopy' to PTR. * jcf-path.c: Include "config.h", not <config.h>. * lex.c: Don't include various system header files. (java_init_lex): Cast the argument of `bzero' to PTR * parse-scan.y (java_push_parser_context): Likewise. * parse.y (java_push_parser_context): Likewise. * xref.c: Don't include <stdio.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.c')
-rw-r--r--gcc/java/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.c b/gcc/java/parse.c
index 5a9e85670b3..c402f12a7c5 100644
--- a/gcc/java/parse.c
+++ b/gcc/java/parse.c
@@ -4892,7 +4892,7 @@ java_push_parser_context ()
struct parser_ctxt *new =
(struct parser_ctxt *)xmalloc(sizeof (struct parser_ctxt));
- bzero (new, sizeof (struct parser_ctxt));
+ bzero ((PTR) new, sizeof (struct parser_ctxt));
new->next = ctxp;
ctxp = new;
if (ctxp->next)
OpenPOWER on IntegriCloud