aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-13 18:27:08 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-13 18:27:20 -0400
commit66219401006e845f1a176e6a78c4682bd9de8785 (patch)
tree2b7426294a58069b4e8c1b06229682012685fdb9 /src/main.c
parent5c3a3b18659a863f4983ab1579dc68333b429e08 (diff)
downloadfujinet-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.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.c b/src/main.c
index 39763c8..98a45c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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: ");