summaryrefslogtreecommitdiff
path: root/lib/libedit/histedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/histedit.h')
-rw-r--r--lib/libedit/histedit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libedit/histedit.h b/lib/libedit/histedit.h
index cb65ba7fb05..092aa893f4f 100644
--- a/lib/libedit/histedit.h
+++ b/lib/libedit/histedit.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: histedit.h,v 1.14 2016/03/20 23:48:27 schwarze Exp $ */
+/* $OpenBSD: histedit.h,v 1.15 2016/05/20 15:30:17 schwarze Exp $ */
/* $NetBSD: histedit.h,v 1.46 2010/04/15 00:50:03 christos Exp $ */
/*-
@@ -261,6 +261,8 @@ typedef struct lineinfow {
const wchar_t *lastchar;
} LineInfoW;
+typedef int (*el_rfunc_t)(EditLine *, wchar_t *);
+
const wchar_t *el_wgets(EditLine *, int *);
int el_wgetc(EditLine *, wchar_t *);
void el_wpush(EditLine *, const wchar_t *);