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/stdlib.h | |
| parent | 89b628d34b1ef0423df35a72901daa194d7db956 (diff) | |
Use C90-compliant comments
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 1c10906..0c4e40c 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -74,7 +74,7 @@ _FORTIFY_FN(wctomb) int wctomb(char * _FORTIFY_POS0 __s, wchar_t __w) | |||
| 74 | __builtin_trap(); | 74 | __builtin_trap(); |
| 75 | return __orig_wctomb(__s, __w); | 75 | return __orig_wctomb(__s, __w); |
| 76 | } | 76 | } |
| 77 | #endif // MB_CUR_MAX | 77 | #endif /* MB_CUR_MAX */ |
| 78 | #endif | 78 | #endif |
| 79 | 79 | ||
| 80 | #undef qsort | 80 | #undef qsort |
| @@ -153,7 +153,7 @@ __diagnose_as_builtin(__builtin_realpath, 1, 2) | |||
| 153 | #endif | 153 | #endif |
| 154 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | 154 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) |
| 155 | { | 155 | { |
| 156 | // PATH_MAX is defined as 4096 | 156 | /* PATH_MAX is defined as 4096 */ |
| 157 | if (__r && 4096 > __fh_bos(__r, 2)) { | 157 | if (__r && 4096 > __fh_bos(__r, 2)) { |
| 158 | char __buf[4096], *__ret; | 158 | char __buf[4096], *__ret; |
| 159 | __fh_size_t __l; | 159 | __fh_size_t __l; |
| @@ -171,12 +171,12 @@ _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | |||
| 171 | } | 171 | } |
| 172 | #endif | 172 | #endif |
| 173 | 173 | ||
| 174 | #endif // clang | 174 | #endif /* clang */ |
| 175 | 175 | ||
| 176 | #ifdef __cplusplus | 176 | #ifdef __cplusplus |
| 177 | } | 177 | } |
| 178 | #endif | 178 | #endif |
| 179 | 179 | ||
| 180 | #endif // _FORTIFY_SOURCE | 180 | #endif /* _FORTIFY_SOURCE */ |
| 181 | 181 | ||
| 182 | #endif | 182 | #endif |
