aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/vms.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-02 07:54:47 +0930
committerAlan Modra <amodra@gmail.com>2023-08-02 07:54:47 +0930
commit44f8d229e86317db4a4eec519fa1a6ce69c5bcd2 (patch)
tree05d7d9b580da6039e87f8231759a76001c33d2e3 /ld/emultempl/vms.em
parentb6456e91d40fd38db264db26991c99381a3da5e6 (diff)
downloadfsf-binutils-gdb-44f8d229e86317db4a4eec519fa1a6ce69c5bcd2.zip
fsf-binutils-gdb-44f8d229e86317db4a4eec519fa1a6ce69c5bcd2.tar.gz
fsf-binutils-gdb-44f8d229e86317db4a4eec519fa1a6ce69c5bcd2.tar.bz2
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.
Diffstat (limited to 'ld/emultempl/vms.em')
-rw-r--r--ld/emultempl/vms.em1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/vms.em b/ld/emultempl/vms.em
index 3d2cd4a..1d90169 100644
--- a/ld/emultempl/vms.em
+++ b/ld/emultempl/vms.em
@@ -22,6 +22,7 @@
# This file is sourced from generic.em.
fragment <<EOF
+#include "libiberty.h"
#include "getopt.h"
static void