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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c2f3ceeb4f758e71937ca6dabd8cc77e3de468f;p=binutils-gdb.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 9dbcfcf4521..9b91c2fbe9e 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