jvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 2 Feb 1999 17:16:58 +0000 (17:16 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 2 Feb 1999 17:16:58 +0000 (17:16 +0000)
        * jvspec.c (xmalloc): Fix the prototype to match the one obtained
        from libiberty.h

From-SVN: r24975

gcc/java/ChangeLog
gcc/java/jvspec.c

index 292cf4ca4b3b0c0d9eafd9046b24db0819b545b3..9535cb629f51e35d917db23e67b3f9786609260c 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb  2 20:04:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * jvspec.c (xmalloc): Fix the prototype to match the one obtained
+       from libiberty.h
+
 Tue Feb  2 10:39:47 1999  Per Bothner  <bothner@cygnus.com>
 
        Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
index 389cdf514f1fd319d781a413a3c3cb9a3911e466..2d09db3e5a5526e2140aee8abd1c336f25c72134 100644 (file)
@@ -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;