From a1786428e6ad177c9f6cb8aa72661b79076d67f6 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Tue, 17 Jan 2023 11:16:01 +0800 Subject: [PATCH] nuttx: Remove fdopendir (#1895) The newer version of nuttx has implemented fdopendir, and the compiler reports multiple definitions of it. --- core/shared/platform/nuttx/nuttx_platform.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/shared/platform/nuttx/nuttx_platform.c b/core/shared/platform/nuttx/nuttx_platform.c index 28188420..1f597d39 100644 --- a/core/shared/platform/nuttx/nuttx_platform.c +++ b/core/shared/platform/nuttx/nuttx_platform.c @@ -144,10 +144,3 @@ utimensat(int fd, const char *path, const struct timespec ts[2], int flag) } #endif /* !defined(AT_FDCWD) */ - -DIR * -fdopendir(int fd) -{ - errno = ENOSYS; - return NULL; -}