summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorjvoisin2025-10-28 23:13:42 +0100
committerjvoisin2025-10-28 23:13:42 +0100
commit8a43ce98138d363b6595a16b98b6016c5e306191 (patch)
tree2de12f64ed9bb15ef0a224b5085ce0ad4fa6a37e /include/wchar.h
parent89b628d34b1ef0423df35a72901daa194d7db956 (diff)
Use C90-compliant comments
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 792fad6..ff635eb 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -105,7 +105,7 @@ __diagnose_as_builtin(__builtin_wcrtomb, 1, 2, 3)
105#endif 105#endif
106_FORTIFY_FN(wcrtomb) size_t wcrtomb(char * __s, wchar_t __w, mbstate_t *__st) 106_FORTIFY_FN(wcrtomb) size_t wcrtomb(char * __s, wchar_t __w, mbstate_t *__st)
107{ 107{
108 // In glibc, MB_LEN_MAX is typically 16 (6 in glibc versions earlier than 2.2) 108 /* In glibc, MB_LEN_MAX is typically 16 (6 in glibc versions earlier than 2.2) */
109 if (__s && 16 > __fh_bos(__s, 2)) { 109 if (__s && 16 > __fh_bos(__s, 2)) {
110 char __buf[16]; 110 char __buf[16];
111 __fh_size_t __r; 111 __fh_size_t __r;