diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-13 17:21:03 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-13 17:21:03 -0400 |
commit | bbfd16d493505923da48863441d9feca45fd1b1a (patch) | |
tree | 54b4d13688baff2796578fc9a0b203ca61e9e501 | |
parent | 9520cb3e84a3bcce8d69d6359dceacf53475e128 (diff) | |
download | gcc-bbfd16d493505923da48863441d9feca45fd1b1a.zip gcc-bbfd16d493505923da48863441d9feca45fd1b1a.tar.gz gcc-bbfd16d493505923da48863441d9feca45fd1b1a.tar.bz2 |
(xmalloc): Don't use prototype for now.
From-SVN: r4142
-rw-r--r-- | gcc/rtl.h | 5 | ||||
-rw-r--r-- | gcc/tree.h | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -644,12 +644,13 @@ extern rtx read_rtx (); /* At present, don't prototype xrealloc, since all of the callers don't cast their pointers to char *, and all of the xrealloc's don't use void * yet. */ -extern char *xrealloc PROTO((void *, unsigned)); +extern char *xmalloc PROTO((size_t)); +extern char *xrealloc PROTO((void *, size_t)); #else +extern char *xmalloc (); extern char *xrealloc (); #endif -extern char *xmalloc PROTO((unsigned)); extern char *oballoc PROTO((int)); extern char *permalloc PROTO((int)); extern void free PROTO((void *)); @@ -997,15 +997,16 @@ union tree_node /* At present, don't prototype xrealloc, since all of the callers don't cast their pointers to char *, and all of the xrealloc's don't use void * yet. */ -extern char *xrealloc PROTO((void *, unsigned)); +extern char *xmalloc PROTO((size_t)); +extern char *xrealloc PROTO((void *, size_t)); #else +extern char *xmalloc (); extern char *xrealloc (); #endif extern char *oballoc PROTO((int)); extern char *permalloc PROTO((int)); extern char *savealloc PROTO((int)); -extern char *xmalloc PROTO((unsigned)); extern void free PROTO((void *)); /* Lowest level primitive for allocating a node. |