posix: fix missing _open for fopen support
Using fopen() in application failed to build when configured with CONFIG_NEWLIB_LIBC=y CONFIG_POSIX_API=y Signed-off-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com>
This commit is contained in:
parent
c3eef7744a
commit
fd9766c961
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ int open(const char *name, int flags, ...)
|
||||||
return fd;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FUNC_ALIAS(open, _open, int);
|
||||||
|
|
||||||
static int fs_close_vmeth(void *obj)
|
static int fs_close_vmeth(void *obj)
|
||||||
{
|
{
|
||||||
struct posix_fs_desc *ptr = obj;
|
struct posix_fs_desc *ptr = obj;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue