aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
commit23b0b55855895b0654f2c7916f953b802398bb25 (patch)
tree8b511ccc3c797fff05a84445b4b4674707fbcf32 /bfd/opncls.c
parent9b4641a629b4505034880403da468e75c4e329b4 (diff)
downloadgdb-23b0b55855895b0654f2c7916f953b802398bb25.zip
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.gz
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.bz2
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 9b91c2f..9dbcfcf 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -51,6 +51,8 @@ FILE *bfd_open_file();
Perhaps, since unix has so many different kinds of locking anyway,
we should use the emacs lock scheme?... */
+extern PTR malloc();
+extern void free();
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free