summaryrefslogtreecommitdiff
path: root/lib/libedit/prompt.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-11 20:43:34 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-11 20:43:34 +0000
commitb4c93c7ba9d727cb7cd0cdbe52c0123401424db1 (patch)
tree82760cb62e68d8a09fd1e773ad001637fb560665 /lib/libedit/prompt.h
parentabf221675b71c007d7d79df6e96b6c7cdc20da9e (diff)
get rid of the non-standard data type "Char" in almost all files;
ok martijn@
Diffstat (limited to 'lib/libedit/prompt.h')
-rw-r--r--lib/libedit/prompt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libedit/prompt.h b/lib/libedit/prompt.h
index 077b61bcd4c..ce77ffb183b 100644
--- a/lib/libedit/prompt.h
+++ b/lib/libedit/prompt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: prompt.h,v 1.9 2016/03/20 23:48:27 schwarze Exp $ */
+/* $OpenBSD: prompt.h,v 1.10 2016/04/11 20:43:33 schwarze Exp $ */
/* $NetBSD: prompt.h,v 1.13 2016/02/17 19:47:49 christos Exp $ */
/*-
@@ -41,18 +41,18 @@
#ifndef _h_el_prompt
#define _h_el_prompt
-typedef Char *(*el_pfunc_t)(EditLine *);
+typedef wchar_t *(*el_pfunc_t)(EditLine *);
typedef struct el_prompt_t {
el_pfunc_t p_func; /* Function to return the prompt */
coord_t p_pos; /* position in the line after prompt */
- Char p_ignore; /* character to start/end literal */
+ wchar_t p_ignore; /* character to start/end literal */
int p_wide;
} el_prompt_t;
protected void prompt_print(EditLine *, int);
-protected int prompt_set(EditLine *, el_pfunc_t, Char, int, int);
-protected int prompt_get(EditLine *, el_pfunc_t *, Char *, int);
+protected int prompt_set(EditLine *, el_pfunc_t, wchar_t, int, int);
+protected int prompt_get(EditLine *, el_pfunc_t *, wchar_t *, int);
protected int prompt_init(EditLine *);
protected void prompt_end(EditLine *);