From 8406bb5944940a8830b37b97584dda3208a3d07d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Mar 2015 02:55:08 -0400 Subject: 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. --- include/gdb/ChangeLog | 4 ++++ include/gdb/remote-sim.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include/gdb') diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 694cd5d..88bd15c 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-05-15 Mike Frysinger + + * remote-sim.h (struct host_callback_struct): Define. + 2015-01-31 Doug Evans * section-scripts.h: Remove "future extension" comment. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index 3dca380..bd8ddc0 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -60,9 +60,10 @@ typedef enum { } SIM_RC; -/* The bfd struct, as an opaque type. */ +/* Some structs, as opaque types. */ struct bfd; +struct host_callback_struct; /* Main simulator entry points. */ -- cgit v1.1