From: Alan Modra Date: Tue, 1 Aug 2023 22:24:47 +0000 (+0930) Subject: Don't declare xmalloc and others in ldmisc.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44f8d229e86317db4a4eec519fa1a6ce69c5bcd2;p=binutils-gdb.git 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. --- diff --git a/ld/emultempl/pdp11.em b/ld/emultempl/pdp11.em index 8ff260a4c13..c6dbdeedd6a 100644 --- a/ld/emultempl/pdp11.em +++ b/ld/emultempl/pdp11.em @@ -21,6 +21,7 @@ fragment <