aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/prompt.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-13 10:51:54 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-13 10:51:54 -0700
commitf2efbb46ef89c7c1693400f7209113c50c959f02 (patch)
tree1c44494a9260dc270aac0a5291a7952ab0e74514 /sys/cmd/rc/prompt.c
parent0385c87c8434873bdb8b86d35700cdd61286b749 (diff)
Feat(rc): working(ish) version of rc shell
Removed compile commands
Diffstat (limited to 'sys/cmd/rc/prompt.c')
-rw-r--r--sys/cmd/rc/prompt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cmd/rc/prompt.c b/sys/cmd/rc/prompt.c
index b51e509..e474c14 100644
--- a/sys/cmd/rc/prompt.c
+++ b/sys/cmd/rc/prompt.c
@@ -22,7 +22,7 @@ static
char*
completion_matches(const char *s, int i)
{
- word *w;
+ Word *w;
for(w=vlook(COMPLETE_RESULTS)->val; w; w=w->next, i--)
if(!i)
@@ -49,7 +49,7 @@ void
readline(void)
{
static int first = 1;
- io *f = runq->cmdfd;
+ Io *f = runq->cmdfd;
char *s;
long n;
@@ -85,7 +85,7 @@ readline(void)
void
pprompt(void)
{
- var *prompt;
+ Var *prompt;
if(runq->iflag){
flush(err);