From cface55c5ba0017b4dcbe63211b70fa5605f35c3 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 31 Jan 2025 19:55:45 +0000 Subject: [PATCH] sim: various cleanups (non existent funcs) --- sim/SimDBstuff.c | 7 ------- sim/SimRsim.c | 4 ++-- sim/SimSelect.c | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sim/SimDBstuff.c b/sim/SimDBstuff.c index 3601d361..22e15160 100644 --- a/sim/SimDBstuff.c +++ b/sim/SimDBstuff.c @@ -46,13 +46,6 @@ #include "utils/styles.h" #include "graphics/graphics.h" -/* Forward declarations */ - -extern char *DBPrintUseId(); -extern int dbcUnconnectFunc(); -extern void SimInitScxStk(); -extern void SimPopScx(); -extern void SimMakePathname(); static char bestName[256]; diff --git a/sim/SimRsim.c b/sim/SimRsim.c index fbd84b6b..f06cc1cf 100644 --- a/sim/SimRsim.c +++ b/sim/SimRsim.c @@ -51,7 +51,7 @@ /* C99 compat */ #include "textio/textio.h" -static bool InitRsim(); +static bool InitRsim(const char *hello_msg); #define BUF_SIZE 1024 #define LINEBUF_SIZE 256 @@ -382,7 +382,7 @@ SimConnectRsim( *----------------------------------------------------------------------- */ -bool +static bool InitRsim( const char *hello_msg) { diff --git a/sim/SimSelect.c b/sim/SimSelect.c index 0536b3ff..927ca4db 100644 --- a/sim/SimSelect.c +++ b/sim/SimSelect.c @@ -447,7 +447,7 @@ SimSelection( char *strPtr; bool goodReply; - extern void RsimErrorMsg(); + extern void RsimErrorMsg(void); timeString[0] = 0;