From afb4a065b6bee669df249790835c64ea9dc6b331 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 3 Apr 2026 18:36:13 -0400 Subject: Use real arrays for tx_buf and rx_buf. 6253 bytes free. --- src/irc.h | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'src/irc.h') diff --git a/src/irc.h b/src/irc.h index 5e831b9..91ffd00 100644 --- a/src/irc.h +++ b/src/irc.h @@ -1,20 +1,15 @@ #define MAX_IRC_MSG_LEN 512 - -/* -#define streq(x,y) !strcmp(x,y) -#define streq_i(x,y) !strcasecmp(x,y) -*/ +#include "rxtxbuf.h" /**** main.c */ -extern char *rx_buf; -extern unsigned short rxbuflen; + +extern unsigned int rxbuflen; +extern unsigned int txbuflen; + extern unsigned char err; extern unsigned char trip; -extern char hz; extern char reconnect_timeout; - -extern unsigned int txbuflen; -extern char *tx_buf; +extern char hz; /* 50 for PAL, 60 for NTSC, natch */ /* clears the transmit buffer. */ void txbuf_init(void); -- cgit v1.2.3