Don't declare xmalloc and others in ldmisc.h
authorAlan Modra <amodra@gmail.com>
Tue, 1 Aug 2023 22:24:47 +0000 (07:54 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Aug 2023 22:24:47 +0000 (07:54 +0930)
commit44f8d229e86317db4a4eec519fa1a6ce69c5bcd2
tree05d7d9b580da6039e87f8231759a76001c33d2e3
parentb6456e91d40fd38db264db26991c99381a3da5e6
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/emultempl/pdp11.em
ld/emultempl/ticoff.em
ld/emultempl/vms.em
ld/ldctor.c
ld/ldelfgen.c
ld/ldgram.y
ld/ldmisc.h