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.
This commit is contained in:
Mike Frysinger
2015-03-15 02:55:08 -04:00
parent b19839da38
commit 8406bb5944
24 changed files with 68 additions and 91 deletions

View File

@ -1,3 +1,7 @@
2015-05-15 Mike Frysinger <vapier@gentoo.org>
* remote-sim.h (struct host_callback_struct): Define.
2015-01-31 Doug Evans <xdje42@gmail.com>
* section-scripts.h: Remove "future extension" comment.

View File

@ -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. */