aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/rc.h')
-rw-r--r--sys/cmd/rc/rc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/cmd/rc/rc.h b/sys/cmd/rc/rc.h
index 32fb639..83c39e9 100644
--- a/sys/cmd/rc/rc.h
+++ b/sys/cmd/rc/rc.h
@@ -172,10 +172,13 @@ void *emalloc(uintptr);
void *erealloc(void*, uintptr);
void efree(void*);
-/* read.c */
+/* input.c */
int readline(char *);
void enablevi(void);
+void inithistory(void);
+int addhistory(char *);
+
/* prompt.c */
void resetprompt(void);
int prompt(ushort *);
@@ -237,7 +240,7 @@ void background(Thread *, int);
/* exec.c */
// XXX: odd place for this
-int count(Word *);
+int count(Word *);
Word *makeword(char *str, Word *link);
void freeword(Word *w);