diff options
author | June McEnroe <june@causal.agency> | 2019-01-19 00:04:06 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-19 00:04:06 -0500 |
commit | b2ad2edfb5bd2108717973eb006d920c47bff5f2 (patch) | |
tree | a5b790b152e671f003b35b1dff1a9610eb6fdd25 /bin/cash/libedit/histedit.h | |
parent | Add H_SAVE_INCR function to libedit (diff) | |
download | src-b2ad2edfb5bd2108717973eb006d920c47bff5f2.tar.gz src-b2ad2edfb5bd2108717973eb006d920c47bff5f2.zip |
Take event number for save incr
ev cannot be used for input, as the first thing history() does is clear it.
Diffstat (limited to '')
-rw-r--r-- | bin/cash/libedit/histedit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cash/libedit/histedit.h b/bin/cash/libedit/histedit.h index a6bdee48..ecb42686 100644 --- a/bin/cash/libedit/histedit.h +++ b/bin/cash/libedit/histedit.h @@ -226,8 +226,8 @@ int history(History *, HistEvent *, int, ...); #define H_DELDATA 24 /* , int, histdata_t *);*/ #define H_REPLACE 25 /* , const char *, histdata_t); */ #define H_SAVE_FP 26 /* , FILE *); */ -#define H_SAVE_INCR 27 /* , const char *); */ -#define H_SAVE_FP_INCR 28 /* , FILE *); */ +#define H_SAVE_INCR 27 /* , const char *, int); */ +#define H_SAVE_FP_INCR 28 /* , FILE *, int); */ |