diff options
| author | jvoisin | 2025-10-28 23:13:42 +0100 |
|---|---|---|
| committer | jvoisin | 2025-10-28 23:13:42 +0100 |
| commit | 8a43ce98138d363b6595a16b98b6016c5e306191 (patch) | |
| tree | 2de12f64ed9bb15ef0a224b5085ce0ad4fa6a37e /include/wchar.h | |
| parent | 89b628d34b1ef0423df35a72901daa194d7db956 (diff) | |
Use C90-compliant comments
Diffstat (limited to 'include/wchar.h')
| -rw-r--r-- | include/wchar.h | 2 |
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; |
