From 29b56ef4e4113bcd091b19d6926f18814162ca53 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 26 Oct 2021 21:01:41 -0700 Subject: Feat(libunicode): Added an explicit unicode library Refactored code to pull out utf8 functions from base into a standalone library. Also left the required function inside arg.c so that code that calls ARG_BEGIN doesn't have to link to libunicode. --- sys/cmd/rc/rc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/cmd/rc/rc.h') diff --git a/sys/cmd/rc/rc.h b/sys/cmd/rc/rc.h index 5a9aac5..eaf668a 100644 --- a/sys/cmd/rc/rc.h +++ b/sys/cmd/rc/rc.h @@ -152,7 +152,6 @@ struct Shell Io *err; int status; int interactive; - char *prompt; Thread *jobs; }; @@ -178,7 +177,8 @@ int readline(char *); void enablevi(void); /* prompt.c */ -int prompt(ushort *); +void resetprompt(void); +int prompt(ushort *); /* io.c */ Io *openfd(int fd); -- cgit v1.2.1