diff options
author | Per Bothner <per@bothner.com> | 1992-03-02 01:55:31 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-03-02 01:55:31 +0000 |
commit | 6c6afbb92bc10dbb693e8e74804cdffa8de65521 (patch) | |
tree | 56fd0e1a800a17cd3dfe2a4eb55d192253006ec2 /gdb/objfiles.c | |
parent | 4b8333decafe6c9495555aaecae4c392bdae1874 (diff) | |
download | gdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.zip gdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.tar.gz gdb-6c6afbb92bc10dbb693e8e74804cdffa8de65521.tar.bz2 |
More changes, mostly from IBM for rs6000. (See ChangeLog.)
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 1bba838..d863cd8 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -64,8 +64,8 @@ allocate_objfile (abfd, filename, dumpable) { objfile = (struct objfile *) xmalloc (sizeof (struct objfile)); (void) memset (objfile, 0, sizeof (struct objfile)); - objfile -> malloc = xmalloc; - objfile -> realloc = xrealloc; + objfile -> malloc = (PTR (*) PARAMS ((long))) malloc; + objfile -> realloc = (PTR (*) PARAMS ((PTR, long))) realloc; objfile -> xmalloc = xmalloc; objfile -> xrealloc = xrealloc; objfile -> free = free; |