aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-rs6000.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-03-02 01:55:31 +0000
committerPer Bothner <per@bothner.com>1992-03-02 01:55:31 +0000
commit6c6afbb92bc10dbb693e8e74804cdffa8de65521 (patch)
tree56fd0e1a800a17cd3dfe2a4eb55d192253006ec2 /gdb/xm-rs6000.h
parent4b8333decafe6c9495555aaecae4c392bdae1874 (diff)
downloadgdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.zip
gdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.tar.gz
gdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.tar.bz2
More changes, mostly from IBM for rs6000. (See ChangeLog.)
Diffstat (limited to 'gdb/xm-rs6000.h')
-rw-r--r--gdb/xm-rs6000.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/xm-rs6000.h b/gdb/xm-rs6000.h
index deef444..ab59431 100644
--- a/gdb/xm-rs6000.h
+++ b/gdb/xm-rs6000.h
@@ -75,3 +75,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef IBM6000
#define IBM6000
#endif
+
+/* /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 (());
+