Restore add_history(), for compat and simplify code.

This commit is contained in:
Joachim Nilsson
2010-08-03 21:01:01 +02:00
parent dde4471eda
commit 55aaddbc54
2 changed files with 20 additions and 23 deletions

View File

@@ -52,6 +52,6 @@ extern void rl_reset_terminal(char *p);
extern void rl_initialize(void);
extern char *readline(const char *prompt);
extern void add_history(char *line); /* OBSOLETE: Made part of readline(). -- kjb */
extern void add_history(const char *line);
#endif /* __EDITLINE_H__ */