diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-13 18:27:08 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-13 18:27:20 -0400 |
| commit | 66219401006e845f1a176e6a78c4682bd9de8785 (patch) | |
| tree | 2b7426294a58069b4e8c1b06229682012685fdb9 /src/main.c | |
| parent | 5c3a3b18659a863f4983ab1579dc68333b429e08 (diff) | |
| download | fujinet-chat-66219401006e845f1a176e6a78c4682bd9de8785.tar.gz | |
Rewrite most of the txbuf_* functions in asm. 7803 bytes free.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -27,15 +27,6 @@ char reconnect_timeout = 1; extern void ih(); // defined in intr.s -void txbuf_init(void) { - txbuflen = tx_buf[0] = 0; -} - -void txbuf_set_str(const char *str) { - txbuf_init(); - txbuf_append_str(str); -} - void txbuf_send(void) { /* don't send empty buffer */ if(!txbuflen) return; @@ -51,11 +42,6 @@ void txbuf_send(void) { txbuf_init(); } -void txbuf_send_str(const char *str) { - txbuf_set_str(str); - txbuf_send(); -} - int fn_connect(void) { scr_display(SCR_SERVER); scr_print_current("Connecting to: "); |
