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-03-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Add @SIM_DV_SOCKSER_O@.
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.

View file

@ -12,6 +12,7 @@ SIM_OBJS = \
sim-model.o \
sim-reg.o \
sim-signal.o \
@SIM_DV_SOCKSER_O@ \
cgen-utils.o cgen-trace.o cgen-scache.o \
cgen-run.o sim-reason.o sim-engine.o sim-stop.o \
sim-if.o arch.o \