diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-17 20:15:03 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-17 20:15:03 +0000 |
commit | 427d778c2c41b0dadfc7420eba95b963f7c872cc (patch) | |
tree | feb2da0559f3a944dbf8e1a7767505bc1da47524 /gdb/xm-sun3os4.h | |
parent | 5e16788678168d2f1624814d159955e7bc5a2a28 (diff) | |
download | gdb-427d778c2c41b0dadfc7420eba95b963f7c872cc.zip gdb-427d778c2c41b0dadfc7420eba95b963f7c872cc.tar.gz gdb-427d778c2c41b0dadfc7420eba95b963f7c872cc.tar.bz2 |
* xcoffexec.c: Remove ' from comment.
* xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts
with decls of malloc in c-exp.tab.c (as produced by yacc).
There's got to be a better way to do this...
Diffstat (limited to 'gdb/xm-sun3os4.h')
-rw-r--r-- | gdb/xm-sun3os4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/xm-sun3os4.h b/gdb/xm-sun3os4.h index b9401f9..cf23a4b 100644 --- a/gdb/xm-sun3os4.h +++ b/gdb/xm-sun3os4.h @@ -40,3 +40,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */ #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ + +/* Prevent type conflicts between yacc malloc decls and defs.h */ +#define MALLOC_INCOMPATIBLE +extern char *malloc(); +extern char *realloc(); +extern void free(); |