Skip to content
Commit 6f4e96bc authored by Christopher Friedt's avatar Christopher Friedt Committed by Stephanos Ioannidis
Browse files

libc: minimal: include: move sys/stat.h to posix



The `sys/stat.h` header has never been a part of ISO C so move it
to `zephyr/include/posix/sys/`.

To ensure a smooth migration, leave a stub header in
`lib/libc/minimal/include/sys/` that prints a deprecation warning
suggesting developers either include `<zephyr/posix/sys/stat.h>`
or use `CONFIG_POSIX_API=y`.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent d1e7ccec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment