From b0f780c3bfd5d88f40cfcb0ad93a609bf24a0b5c Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 2 Feb 1999 17:16:58 +0000 Subject: [PATCH] jvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h * jvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h From-SVN: r24975 --- gcc/java/ChangeLog | 5 +++++ gcc/java/jvspec.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 292cf4ca4b3..9535cb629f5 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 2 20:04:50 1999 Kaveh R. Ghazi + + * jvspec.c (xmalloc): Fix the prototype to match the one obtained + from libiberty.h + Tue Feb 2 10:39:47 1999 Per Bothner Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'. diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index 389cdf514f1..2d09db3e5a5 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -1,6 +1,6 @@ /* Specific flags and argument handling of the front-end of the GNU compiler for the Java(TM) language. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 97-98, 1999 Free Software Foundation, Inc. This file is part of GNU CC. @@ -61,7 +61,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #define MATH_LIBRARY "-lm" #endif -extern char *xmalloc PROTO((size_t)); +extern GENERIC_PTR xmalloc PROTO((size_t)); extern int do_spec PROTO((char *)); extern char *input_filename; extern size_t input_filename_length; -- 2.30.2