summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-18 12:30:53 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:04 +0100
commita33cdf2c71aec230b14a0e07317e0a38d743089b (patch)
treed45ca0d1236a7e494f8e78a8fa2b28c003f70e1f /rc.h
parent4682c96c0bd432f41abb6d83b9edf8bce195ce40 (diff)
move rc_readline to rdwr.c
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.h b/rc.h
index e94d08b..6f8e97a 100644
--- a/rc.h
+++ b/rc.h
@@ -366,6 +366,10 @@ extern void initparse(void);
extern void writeall(int, char *, size_t);
extern int rc_read(int, char *, size_t);
+#if READLINE
+extern char *rc_readline(char *prompt);
+#endif
+
/* redir.c */
extern void doredirs(void);
@@ -396,7 +400,6 @@ extern void treefree(Node *);
/* utils.c */
extern bool isabsolute(char *);
extern int n2u(char *, unsigned int);
-extern int rc_read(int, char *, size_t);
extern int mvfd(int, int);
extern int starstrcmp(const void *, const void *);
extern void pr_error(char *);