aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
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/objfiles.c
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/objfiles.c')
-rw-r--r--gdb/objfiles.c4
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;