aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-07 06:39:55 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-07 06:40:10 -0400
commit2c72b3aaf117a2e883db6b8377bc3473928da1f6 (patch)
treefa07da425bfcb50b409bc154fc5e3ad2051f6b04
parentce92ed10abcd5e30198579dc42357ff369b2faeb (diff)
downloadfujinet-chat-2c72b3aaf117a2e883db6b8377bc3473928da1f6.tar.gz
Remove unused functions from screen.[ch]. 7203 bytes free (though, saving from screen.c isn't that useful since it'll be replaced later).
-rw-r--r--src/screen.c2
-rw-r--r--src/screen.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 02cc45a..9793a8a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -292,6 +292,7 @@ void scr_print_active(const char *text) {
scr_print(scr_active, text);
}
+/*
void scr_print_server(const char *text) {
scr_print(SCR_SERVER, text);
}
@@ -299,6 +300,7 @@ void scr_print_server(const char *text) {
void scr_print_priv(const char *text) {
scr_print(SCR_SERVER, text);
}
+*/
void scr_activate(char s) {
/*
diff --git a/src/screen.h b/src/screen.h
index 2959b1e..76f82c9 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -94,8 +94,11 @@ void scr_print_active(const char *text);
/* print to the currently-displayed screen */
void scr_print_current(const char *text);
+/*
+ // these were never used, so commented out.
void scr_print_server(const char *text);
void scr_print_priv(const char *text);
+*/
/* set a screen's status to active, if it's not the currently-displayed
one. scr_print() sets it already, but anything that uses scr_putc()