OSDN Git Service

(xmalloc): Don't use prototype for now.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1993 21:21:03 +0000 (21:21 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1993 21:21:03 +0000 (21:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4142 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/rtl.h
gcc/tree.h

index b5fc058..f223cf6 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 a288c1d..a0644f8 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.