]> pd.if.org Git - pdclib/commitdiff
Disabled unused function.
authorMartin Baute <solar@rootdirectory.de>
Fri, 11 Mar 2016 06:53:23 +0000 (07:53 +0100)
committerMartin Baute <solar@rootdirectory.de>
Fri, 11 Mar 2016 06:53:23 +0000 (07:53 +0100)
functions/wchar/wcrtomb.c

index 79a1433d564756ecbb15912925a9a4475d0c5ec3..3fddc1fd6298fe15c38a389cd59e73c15c4d4642 100644 (file)
 #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,