From: Martin Baute Date: Fri, 11 Mar 2016 06:53:23 +0000 (+0100) Subject: Disabled unused function. X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=6d8ab22315929ce3c33509be3492dc067c3b1c19;hp=22b033cb87a99294d6d133d713f57c34a867b5f0 Disabled unused function. --- diff --git a/functions/wchar/wcrtomb.c b/functions/wchar/wcrtomb.c index 79a1433..3fddc1f 100644 --- a/functions/wchar/wcrtomb.c +++ b/functions/wchar/wcrtomb.c @@ -16,6 +16,11 @@ #include <_PDCLIB_encoding.h> #include <_PDCLIB_locale.h> +#if 0 +/* + TODO: Other conversion functions call static ..._l helpers, but this one + does not, making this function "defined but not used". +*/ static size_t wcrtomb_l( char *restrict s, wchar_t wc, @@ -25,6 +30,7 @@ static size_t wcrtomb_l( { return _PDCLIB_cwcrtomb_l(s, wc, ps, l); } +#endif size_t wcrtomb( char *restrict s,