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. --- sim/common/dv-sockser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/common/dv-sockser.h') diff --git a/sim/common/dv-sockser.h b/sim/common/dv-sockser.h index 8ad9981..cc4fd74 100644 --- a/sim/common/dv-sockser.h +++ b/sim/common/dv-sockser.h @@ -30,4 +30,6 @@ int dv_sockser_write (SIM_DESC, unsigned char); int dv_sockser_write_buffer (SIM_DESC, const unsigned char *, unsigned); int dv_sockser_read (SIM_DESC); +SIM_RC dv_sockser_install (SIM_DESC); + #endif /* DV_SOCKSER_H */ -- cgit v1.1