libc: newlib: libc-hooks: s/CONFIG_POSIX_FS/CONFIG_POSIX_API/
read/write/etc. are defined in case CONFIG_POSIX_API is defined, and we shouldn't provide duplicates. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
b6e58d54c9
commit
b2fd1a27ac
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ Z_SYSCALL_HANDLER(_zephyr_write, buf, nbytes)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_POSIX_FS
|
||||
#ifndef CONFIG_POSIX_API
|
||||
int _read(int fd, char *buf, int nbytes)
|
||||
{
|
||||
ARG_UNUSED(fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue