Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libedit/chartype.h,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libedit/chartype.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.22 retrieving revision 1.23 diff -u -p -r1.22 -r1.23 --- src/lib/libedit/chartype.h 2016/02/24 17:13:22 1.22 +++ src/lib/libedit/chartype.h 2016/02/24 17:20:01 1.23 @@ -1,4 +1,4 @@ -/* $NetBSD: chartype.h,v 1.22 2016/02/24 17:13:22 christos Exp $ */ +/* $NetBSD: chartype.h,v 1.23 2016/02/24 17:20:01 christos Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -37,7 +37,6 @@ #define _h_chartype_f - #ifdef WIDECHAR /* Ideally we should also test the value of the define to see if it @@ -60,7 +59,6 @@ #warning Build environment does not support non-BMP characters #endif -#define ct_mbrtowc mbrtowc #define ct_wctob wctob #define ct_wctomb wctomb #define ct_wctomb_reset wctomb(0,0) @@ -113,7 +111,6 @@ Width(wchar_t c) #else /* NARROW */ -size_t ct_mbrtowc(wchar_t *, const char *, size_t, void *); #define ct_wctob(w) ((int)(w)) #define ct_wctomb error #define ct_wctomb_reset @@ -246,5 +243,7 @@ protected const Char *ct_visual_string(c protected int ct_chr_class(Char c); #endif +size_t ct_mbrtowc(wchar_t *, const char *, size_t); + #endif /* _chartype_f */