From 19aa5714cc3e51849bed0434769238cfcbb3efd8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 25 Mar 2026 22:50:31 -0400 Subject: Tidy up irc.h and edbox.c. --- src/edbox.c | 6 +----- src/irc.h | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/edbox.c b/src/edbox.c index 4043bf2..8c6e663 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -6,8 +6,7 @@ #include "edbox.h" #include "complete.h" #include "keytab.h" - -extern void __fastcall__ bell(void); +#include "irc.h" char old_edbox[EDBOX_SIZE]; static char old_len; @@ -178,9 +177,6 @@ void right(void) { } void edbox_keystroke(char c) { - extern char start_latch; - extern void start_keystroke(char); - if(c == CH_ESC) { start_latch = 1; return; diff --git a/src/irc.h b/src/irc.h index 2cb62cc..b0ff260 100644 --- a/src/irc.h +++ b/src/irc.h @@ -67,6 +67,8 @@ void print_errnum(void); void __fastcall__ bell(void); /* see src/bell.s */ +void start_keystroke(char c); + /**** cmd.c */ void cmd_command(char *cmd); void cmd_execute(void); -- cgit v1.2.3