aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-module.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-15 02:55:08 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-15 03:05:05 -0400
commit8406bb5944940a8830b37b97584dda3208a3d07d (patch)
tree9fed3d4c5c3ca932b0fc4955a965bf38ea3dd447 /sim/common/sim-module.h
parentb19839da382a4755e91d0a943b6d89d13fd74972 (diff)
downloadgdb-8406bb5944940a8830b37b97584dda3208a3d07d.zip
gdb-8406bb5944940a8830b37b97584dda3208a3d07d.tar.gz
gdb-8406bb5944940a8830b37b97584dda3208a3d07d.tar.bz2
sim: dv-sockser: push module init prototype down
Pull out the duplicated dv_sockser_install prototype from the tconfig.in files and put it in the one place it gets used -- sim-module.c. This is still arguably incorrect, but it's better than the status quo where the tconfig.in has to include header files and duplicate the dv-sockser func. The tconfig header is meant to be simple and contain a target defines.
Diffstat (limited to 'sim/common/sim-module.h')
-rw-r--r--sim/common/sim-module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-module.h b/sim/common/sim-module.h
index 9979ec0..53b8306 100644
--- a/sim/common/sim-module.h
+++ b/sim/common/sim-module.h
@@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
TODO: Add facilities for saving/restoring state to/from a file. */
+#include "gdb/remote-sim.h"
/* Various function types. */