(xmalloc): Don't use prototype for now.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 13 Apr 1993 21:21:03 +0000 (17:21 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 13 Apr 1993 21:21:03 +0000 (17:21 -0400)
From-SVN: r4142

gcc/rtl.h
gcc/tree.h

index b5fc058a76a5abd96ddfd450883064038c1826dc..f223cf6fd725542ef05f9eb5b10a05915e65c2cb 100644 (file)
--- 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 *));
index a288c1da9e737a30bb8f9a4d3c6c3621f48edb9d..a0644f8000723f389bce7db937b40879f719f505 100644 (file)
@@ -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.