From 617104adeb89f4581f5810b40c546d94316bc9f9 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 3 Sep 2026 13:28:48 +0000 Subject: idk --- src/util/io.cc | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/util') diff --git a/src/util/io.cc b/src/util/io.cc index 09479e6..e1960ae 100644 --- a/src/util/io.cc +++ b/src/util/io.cc @@ -130,7 +130,7 @@ void wrap_eliminator(char *s, char replacement) s[i] = replacement; } -void write_helper(const char *s) +void _write_helper(const char *s) { int errno_old = errno; @@ -141,18 +141,6 @@ void write_helper(const char *s) errno = errno_old; } -/* - * usage - print a help message - */ -void usage(void) -{ - printf("Usage: shell [-hvp]\n"); - printf(" -h print this message\n"); - printf(" -v print additional diagnostic information\n"); - printf(" -p do not emit a command prompt\n"); - exit(1); -} - /* * unix_error - unix-style error routine */ -- cgit v1.3.1-4-g156e