aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-tree.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-04 21:09:23 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-04 22:10:04 -0500
commit843bf75416dd11d91a5d617f7a49f6e9e5025b42 (patch)
tree9c38ee66660ea7438c727dd330fce45520e0ee11 /sim/common/hw-tree.h
parent33bbd5e8dd0d0967da4a86007ef1e8d268367492 (diff)
downloadfsf-binutils-gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.zip
fsf-binutils-gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.gz
fsf-binutils-gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.bz2
sim: include ansidecl.h when needed
Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h.
Diffstat (limited to 'sim/common/hw-tree.h')
-rw-r--r--sim/common/hw-tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/hw-tree.h b/sim/common/hw-tree.h
index 2f717ec..07a95b4 100644
--- a/sim/common/hw-tree.h
+++ b/sim/common/hw-tree.h
@@ -25,6 +25,8 @@
#include <stdarg.h>
+#include "ansidecl.h"
+
struct hw *hw_tree_create
(SIM_DESC sd,
const char *device);