diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-25 22:50:31 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-25 22:50:31 -0400 |
| commit | 19aa5714cc3e51849bed0434769238cfcbb3efd8 (patch) | |
| tree | bd3433ac1da6d6067c687bfc90b572c144731064 | |
| parent | 22ee67413580fd0f738b4c93c3cfc1d34f13cc35 (diff) | |
| download | fujinet-chat-19aa5714cc3e51849bed0434769238cfcbb3efd8.tar.gz | |
Tidy up irc.h and edbox.c.
| -rw-r--r-- | src/edbox.c | 6 | ||||
| -rw-r--r-- | 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; @@ -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); |
