vasilito
a359fb6155
relibc: dirent/stdlib/unistd headers must include <features.h> for __deprecated
...
The relibc bump added #[deprecated] to readdir_r (and others); cbindgen emits
'__deprecated' (globdefs deprecated=__deprecated), which is #defined in
features.h. But dirent/stdlib/unistd generate with no_includes and never pulled
features.h, so a C unit that includes <dirent.h> before anything that defines
__deprecated fails: 'expected ; before int' (broke htop and any <dirent.h>
consumer). Added '#include <features.h>' to each header's cbindgen after_includes.
2026-07-28 18:20:16 +09:00
Jeremy Soller
a20662cc91
Move O_ constants to bits/open-flags.h for use by fcntl.h and stdlib.h
2026-06-10 08:41:29 -06:00
auronandace
359f9b26ef
verify stdlib header includes
2026-06-08 10:32:22 +01:00
Wildan M
30ccb7d337
Fix include conflict in strtold
2026-04-18 12:49:02 +07:00
auronandace
afd9cad0c3
move stdlib bits to cbindgen
2026-03-31 08:31:26 +01:00
Jeremy Soller
b833e44293
Revert "Remove bits/stdlib"
...
This reverts commit 8867ba80df .
2026-01-15 18:40:23 -07:00
Jeremy Soller
40c9c14ea8
Revert "Convert strtold to Rust"
...
This reverts commit 08485648f6 .
2026-01-15 18:31:47 -07:00
Wildan M
8867ba80df
Remove bits/stdlib
2025-12-28 19:43:54 +07:00
Wildan M
08485648f6
Convert strtold to Rust
2025-12-25 16:11:36 +07:00
Josh Megnauth
5348273ccc
Emit C attributes via cbindgen
2024-11-17 16:15:07 +00:00
4lDO2
c0e7af5289
Backwards-compatibly rewrite getdents to use special syscall.
2024-09-11 23:32:19 +02:00
Jeremy Soller
a8f9f64274
Fix stack_chk_guard size on 32-bit
2024-01-11 09:41:17 -07:00
Jeremy Soller
51c93c4b39
Cleanup of wchar_t and wint_t definitions
2023-05-11 10:41:49 -06:00
Jeremy Soller
e7b70fdb93
Ensure assert_fail and abort have noreturn attribute
2023-03-10 11:23:56 -07:00
jD91mZM2
593925ceb4
Unambiguate all include guards
...
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00:00
Jeremy Soller
a8f3608f3c
Fix stdlib div functions, add _Exit
2018-12-14 13:41:22 -07:00
Jeremy Soller
74af56d71b
Add statvfs and strtold
2018-12-14 12:00:21 -07:00
Jeremy Soller
63b079c231
Include alloca.h in stdlib.h
2018-12-09 11:53:41 -07:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00