diff options
author | 2016-03-20 20:35:38 +0000 | |
---|---|---|
committer | 2016-03-20 20:35:38 +0000 | |
commit | b2589f0b3286bc81be0a2044650199e8c9df0b5c (patch) | |
tree | 7745d39c923c07ecd2096e0fd865f9eecb27392b /lib/libedit/parse.c | |
parent | Get rid of "#ifdef WIDECHAR" and one goto in read_char(), (diff) | |
download | wireguard-openbsd-b2589f0b3286bc81be0a2044650199e8c9df0b5c.tar.xz wireguard-openbsd-b2589f0b3286bc81be0a2044650199e8c9df0b5c.zip |
Delete the useless Int datatype and always use the standard wint_t
directly. This is not a problem because <wchar_t> is required all
over the place anyway, even when WIDECHAR is not defined.
No functional change except that it fixes a few printf(3)
format string issues, %c vs. %lc.
OK czarkoff@
Diffstat (limited to 'lib/libedit/parse.c')
-rw-r--r-- | lib/libedit/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c index 4b6a88404f1..1ada67c92ca 100644 --- a/lib/libedit/parse.c +++ b/lib/libedit/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.14 2016/01/30 12:22:20 schwarze Exp $ */ +/* $OpenBSD: parse.c,v 1.15 2016/03/20 20:35:38 schwarze Exp $ */ /* $NetBSD: parse.c,v 1.23 2009/12/30 22:37:40 christos Exp $ */ /*- @@ -133,7 +133,7 @@ protected int parse__escape(const Char **ptr) { const Char *p; - Int c; + wint_t c; p = *ptr; |