Просмотр исходного кода

nuttx: Remove fdopendir (#1895)

The newer version of nuttx has implemented fdopendir, and the compiler
reports multiple definitions of it.
Huang Qi 3 лет назад
Родитель
Сommit
a1786428e6
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      core/shared/platform/nuttx/nuttx_platform.c

+ 0 - 7
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;
-}