summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
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