diff options
author | Alan Modra <amodra@gmail.com> | 2023-08-02 07:54:47 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-02 07:54:47 +0930 |
commit | 44f8d229e86317db4a4eec519fa1a6ce69c5bcd2 (patch) | |
tree | 05d7d9b580da6039e87f8231759a76001c33d2e3 /ld/ldelfgen.c | |
parent | b6456e91d40fd38db264db26991c99381a3da5e6 (diff) | |
download | gdb-44f8d229e86317db4a4eec519fa1a6ce69c5bcd2.zip gdb-44f8d229e86317db4a4eec519fa1a6ce69c5bcd2.tar.gz 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/ldelfgen.c')
-rw-r--r-- | ld/ldelfgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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" |