(xmalloc): Don't use prototype for now.

From-SVN: r4142
This commit is contained in:
Richard Kenner 1993-04-13 17:21:03 -04:00
parent 9520cb3e84
commit bbfd16d493
2 changed files with 6 additions and 4 deletions

View File

@ -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 *));

View 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.