aboutsummaryrefslogtreecommitdiff
path: root/opcodes/rl78-decode.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-06-01 11:00:46 +0930
committerAlan Modra <amodra@gmail.com>2018-06-01 13:10:33 +0930
commit030157d8a65afcc6292a4d3d183b816ed2ff7c57 (patch)
tree27844b4acc7f05aed8c429f135be92476df67cf5 /opcodes/rl78-decode.c
parent61a9a607b5f515c50c0a13d7e1b6bdf9d20d295e (diff)
downloadgdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.zip
gdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.tar.gz
gdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.tar.bz2
Make _bfd_error_handler available outside libbfd
Needed when building libopcodes.so. bfd/ * bfd.c (_bfd_error_handler): Arrange for this function to be declared in bfd-in2.h. * libbfd-in.h (_bfd_error_handler): Don't declare. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. opcodes/ * sysdep.h (_bfd_error_handler): Don't declare. * msp430-decode.opc: Include bfd.h. Don't include ansidecl.h here. * rl78-decode.opc: Likewise. * msp430-decode.c: Regenerate. * rl78-decode.c: Regenerate.
Diffstat (limited to 'opcodes/rl78-decode.c')
-rw-r--r--opcodes/rl78-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c
index 18d0076..3edc8ac 100644
--- a/opcodes/rl78-decode.c
+++ b/opcodes/rl78-decode.c
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "ansidecl.h"
+#include "bfd.h"
#include "opintl.h"
#include "opcode/rl78.h"