diff options
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/xm-rs6000.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb77e4b..7baa251 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 b3731e6..3ad96a6 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(); |