From 1730372e00a7469a05c7535c68dbfab83f8af0b4 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 1 May 2012 00:24:31 +0100 Subject: Bash style history --- history.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'history.h') diff --git a/history.h b/history.h index 7afca5e1..a65ac397 100644 --- a/history.h +++ b/history.h @@ -25,8 +25,8 @@ #define HISTORY_H void history_init(void); -void history_append(const char * const inp); -char *history_previous(void); -char *history_next(void); +void history_append(char *inp); +char *history_previous(char *inp, int *size); +char *history_next(char *inp, int *size); #endif -- cgit 1.4.1-2-gfad0