diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-10-26 21:01:41 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-10-26 21:01:41 -0700 |
commit | 29b56ef4e4113bcd091b19d6926f18814162ca53 (patch) | |
tree | a4888a16927576592af13928bb805f1f2b1159d6 /sys/cmd/rc/rc.h | |
parent | e34a4791b72e426b02f33496fe03be1ad81819a6 (diff) |
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.
Diffstat (limited to 'sys/cmd/rc/rc.h')
-rw-r--r-- | sys/cmd/rc/rc.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |