aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 05:11:34 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-02 22:57:52 -0400
commitb50f43349841643ae5fad7110fc37cb432a45208 (patch)
tree52985ac74496cfadf8ca521142f4abf1f84c7abb /opcodes
parenta442059f66075e4e503c43b119cc8b7de04e5718 (diff)
downloadgdb-b50f43349841643ae5fad7110fc37cb432a45208.zip
gdb-b50f43349841643ae5fad7110fc37cb432a45208.tar.gz
gdb-b50f43349841643ae5fad7110fc37cb432a45208.tar.bz2
opcodes: d10v: simplify header includes
This file doesn't use anything from bfd (sysdep.h), so drop that include. This avoids an implicit dependency on the generated config.h which can be problematic for build-time tools. Also swap stdio.h for stddef.h. This file isn't doing or using any I/O structures, but it does need NULL.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/d10v-opc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opcodes/d10v-opc.c b/opcodes/d10v-opc.c
index c68fc68..f87a077 100644
--- a/opcodes/d10v-opc.c
+++ b/opcodes/d10v-opc.c
@@ -19,8 +19,7 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-#include "sysdep.h"
-#include <stdio.h>
+#include <stddef.h>
#include "opcode/d10v.h"