diff options
Diffstat (limited to 'src/util/io.cc')
| -rw-r--r-- | src/util/io.cc | 14 |
1 files changed, 1 insertions, 13 deletions
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; @@ -142,18 +142,6 @@ void write_helper(const char *s) } /* - * 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 */ void unix_error(const char *msg) |
