From 44f8d229e86317db4a4eec519fa1a6ce69c5bcd2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 2 Aug 2023 07:54:47 +0930 Subject: Don't declare xmalloc and others in ldmisc.h * ldmisc.h (xmalloc, xrealloc, xexit, yyerror): Don't declare. * emultempl/pdp11.em: Include libiberty.h. * emultempl/ticoff.em: Likewise. * emultempl/vms.em: Likewise. * ldctor.c: Likewise. * ldelfgen.c: Likewise. * ldgram.y: Likewise. (yyerror): Prototype and make static. --- ld/ldelfgen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/ldelfgen.c') diff --git a/ld/ldelfgen.c b/ld/ldelfgen.c index 8e4a188..62fce3e 100644 --- a/ld/ldelfgen.c +++ b/ld/ldelfgen.c @@ -19,6 +19,7 @@ MA 02110-1301, USA. */ #include "sysdep.h" +#include "libiberty.h" #include "bfd.h" #include "bfdlink.h" #include "ctf-api.h" -- cgit v1.1