summary refs log tree commit diff
path: root/bin/cash/libedit/histedit.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-19 00:04:06 -0500
committerJune McEnroe <june@causal.agency>2019-01-19 00:04:06 -0500
commit8f97b95aee84aba6d4c8869a7a9eb98e446e9b32 (patch)
treea4a23ac94bcc3d1582c7982e363ea0bda4434d6a /bin/cash/libedit/histedit.h
parentAdd H_SAVE_INCR function to libedit (diff)
downloadsrc-8f97b95aee84aba6d4c8869a7a9eb98e446e9b32.tar.gz
src-8f97b95aee84aba6d4c8869a7a9eb98e446e9b32.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 'bin/cash/libedit/histedit.h')
-rw-r--r--bin/cash/libedit/histedit.h4
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);	*/