From: Ken Raeburn Date: Thu, 3 Dec 1992 23:45:13 +0000 (+0000) Subject: declare malloc, realloc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcc54cad9612ffb15206e53377406b6ddda183fc;p=binutils-gdb.git declare malloc, realloc --- diff --git a/gas/config/ho-generic.h b/gas/config/ho-generic.h index b1b0a93315b..967603fef3e 100644 --- a/gas/config/ho-generic.h +++ b/gas/config/ho-generic.h @@ -25,6 +25,11 @@ #define HAVE_STRERROR +#ifdef __STDC__ +extern void *malloc (), *realloc (); +#else +extern char *malloc (), *realloc (); +#endif extern int free (); /* end of ho-generic.h */