From: John Gilmore Date: Fri, 3 May 1991 19:25:38 +0000 (+0000) Subject: Avoid making a machine-dependent (probably wrong) declaration of malloc X-Git-Tag: gdb-4_18~24373 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c2f3ceeb4f758e71937ca6dabd8cc77e3de468f;p=platform%2Fupstream%2Fbinutils.git Avoid making a machine-dependent (probably wrong) declaration of malloc and free. Depend on the sysdep.h file to do that for us. --- diff --git a/bfd/opncls.c b/bfd/opncls.c index 9dbcfcf..9b91c2f 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -51,8 +51,6 @@ 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