diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-18 00:10:11 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-18 00:10:11 +0000 |
commit | 7634ebc8048e1b6b264f52b02bc54700e1f390fa (patch) | |
tree | af26ca07d7f500a30ddbeaf646415aeca590bd52 | |
parent | abde386585ad1e937f4c0c8cf1f2a530fffe2dec (diff) | |
download | gdb-7634ebc8048e1b6b264f52b02bc54700e1f390fa.zip gdb-7634ebc8048e1b6b264f52b02bc54700e1f390fa.tar.gz gdb-7634ebc8048e1b6b264f52b02bc54700e1f390fa.tar.bz2 |
* xm-rs6000.h: Fix decls for malloc, realloc, and free.
-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(); |