aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-13 17:21:03 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-13 17:21:03 -0400
commitbbfd16d493505923da48863441d9feca45fd1b1a (patch)
tree54b4d13688baff2796578fc9a0b203ca61e9e501
parent9520cb3e84a3bcce8d69d6359dceacf53475e128 (diff)
downloadgcc-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.h5
-rw-r--r--gcc/tree.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index b5fc058..f223cf6 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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 *));
diff --git a/gcc/tree.h b/gcc/tree.h
index a288c1d..a0644f8 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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.