aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-25 22:50:31 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-25 22:50:31 -0400
commit19aa5714cc3e51849bed0434769238cfcbb3efd8 (patch)
treebd3433ac1da6d6067c687bfc90b572c144731064
parent22ee67413580fd0f738b4c93c3cfc1d34f13cc35 (diff)
downloadfujinet-chat-19aa5714cc3e51849bed0434769238cfcbb3efd8.tar.gz
Tidy up irc.h and edbox.c.
-rw-r--r--src/edbox.c6
-rw-r--r--src/irc.h2
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);