From 936096d5e38b5eda8094d21e6f03001682086b6d Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 13 Apr 2024 09:11:27 -0400 Subject: [PATCH] Windows build fix consoletty.o : error LNK2005: _tty_change_color already defined in wintty.o consoletty.o : error LNK2005: _tty_get_color_string already defined in wintty.o --- sys/windows/consoletty.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index 55f89dee6..0c40e18b3 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -2000,21 +2000,6 @@ tty_ibmgraphics_fixup(void) #endif /* VIRTUAL_TERMINAL_SEQUENCES */ } -#ifdef CHANGE_COLOR -#ifdef NO_TERMS -void -tty_change_color(int color UNUSED, long rgb UNUSED, int reverse UNUSED) -{ -} - -char * -tty_get_color_string(void) -{ - return (""); -} -#endif -#endif /* CHANGE_COLOR */ - #ifdef PORT_DEBUG void win32con_debug_keystrokes(void)