From: Stu Grossman Date: Thu, 18 Jun 1992 00:10:11 +0000 (+0000) Subject: * xm-rs6000.h: Fix decls for malloc, realloc, and free. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7634ebc8048e1b6b264f52b02bc54700e1f390fa;p=binutils-gdb.git * xm-rs6000.h: Fix decls for malloc, realloc, and free. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb77e4b74bf..7baa2510694 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Wed Jun 17 13:08:33 1992 Stu Grossman (grossman at cygnus.com) + * xm-rs6000.h: Fix decls for malloc, realloc, and free. + * xm-rs6000.h: Add decl for strdup(). * tm-rs6000.h: Remove #include of inferior.h. Fixes many diff --git a/gdb/xm-rs6000.h b/gdb/xm-rs6000.h index b3731e6b642..3ad96a65a84 100644 --- a/gdb/xm-rs6000.h +++ b/gdb/xm-rs6000.h @@ -66,8 +66,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* /usr/include/stdlib.h always uses void* and void, even when __STDC__ isn't defined. */ #define MALLOC_INCOMPATIBLE -extern void* malloc PARAMS (()); -extern void* realloc PARAMS (()); -extern void free PARAMS (()); +extern char *malloc(); +extern char *realloc(); +extern void free(); extern char *strdup();