mudgangster

Tiny, scriptable MUD client
Log | Files | Refs | README

commit bbcb95f99d070a2b58d8566ef1bbb203fb205eb2
parent e1ee50e1ac73043fbd3540526827ee3a3d3b82c7
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun,  3 May 2020 15:08:29 +0300

Dead code

Diffstat:
Msrc/input.cc | 6------
Msrc/input.h | 3---
Msrc/win32.cc | 2--
Msrc/x11.cc | 2--
4 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/input.cc b/src/input.cc @@ -23,12 +23,6 @@ static int width, height; static bool dirty = false; -void input_init() { -} - -void input_term() { -} - void input_return() { if( input.size() > 0 ) { Span< const char > last_cmd = history_count == 0 ? Span< const char >() : history[ ( history_head + history_count - 1 ) % MAX_INPUT_HISTORY ]; diff --git a/src/input.h b/src/input.h @@ -2,9 +2,6 @@ #include <stddef.h> -void input_init(); -void input_term(); - void input_return(); void input_backspace(); void input_delete(); diff --git a/src/win32.cc b/src/win32.cc @@ -570,7 +570,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin net_init(); ui_init(); - input_init(); script_init(); FrameMark; @@ -583,7 +582,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin } script_term(); - input_term(); ui_term(); net_term(); diff --git a/src/x11.cc b/src/x11.cc @@ -593,7 +593,6 @@ static Socket * socket_from_fd( int fd ) { int main() { net_init(); ui_init(); - input_init(); platform_ui_init(); script_init(); @@ -654,7 +653,6 @@ int main() { script_term(); platform_ui_term(); - input_term(); ui_term(); net_term();