Drop sys_cp_wcstombs and save two arguments per call
* strfuncs.cc (sys_cp_wcstombs): Delete and move functionality into sys_wcstombs. * wchar.h (sys_cp_wcstombs): Drop declaration. * fhandler_console.cc (dev_console::con_to_str): Call sys_wcstombs. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -50,8 +50,6 @@ extern char *__locale_charset ();
|
||||
|
||||
#ifdef __INSIDE_CYGWIN__
|
||||
#ifdef __cplusplus
|
||||
size_t __reg3 sys_cp_wcstombs (wctomb_p, const char *, char *, size_t,
|
||||
const wchar_t *, size_t = (size_t) -1);
|
||||
size_t __reg3 sys_wcstombs (char *dst, size_t len, const wchar_t * src,
|
||||
size_t nwc = (size_t) -1);
|
||||
size_t __reg3 sys_wcstombs_alloc (char **, int, const wchar_t *,
|
||||
|
Reference in New Issue
Block a user