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/mips/ChangeLog | 5 +++++ sim/mips/tconfig.in | 13 ------------- 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'sim/mips') diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 72fbdd2..2be47e0 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +2015-03-15 Mike Frysinger + + * tconfig.in: Delete includes. + [HAVE_DV_SOCKSER]: Delete. + 2015-03-14 Mike Frysinger * Makefile.in (SIM_RUN_OBJS): Delete. diff --git a/sim/mips/tconfig.in b/sim/mips/tconfig.in index a68a5fb..95e66b4 100644 --- a/sim/mips/tconfig.in +++ b/sim/mips/tconfig.in @@ -3,19 +3,6 @@ /* See sim-hload.c. We properly handle LMA. */ #ifdef TARGET_TX3904 #define SIM_HANDLES_LMA 1 - -/* FIXME: This is unnecessarily necessary: */ -#include "ansidecl.h" -#include "gdb/callback.h" -#include "gdb/remote-sim.h" -#include "sim-module.h" - -/* FIXME: Revisit. */ -#ifdef HAVE_DV_SOCKSER -MODULE_INSTALL_FN dv_sockser_install; -#define MODULE_LIST dv_sockser_install, -#endif - #else #define SIM_HANDLES_LMA 0 #endif -- cgit v1.1