nuttx: Remove fdopendir (#1895)

The newer version of nuttx has implemented fdopendir, and the compiler
reports multiple definitions of it.
This commit is contained in:
Huang Qi 2023-01-17 11:16:01 +08:00 committed by GitHub
parent e696ac36d7
commit a1786428e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,10 +144,3 @@ utimensat(int fd, const char *path, const struct timespec ts[2], int flag)
} }
#endif /* !defined(AT_FDCWD) */ #endif /* !defined(AT_FDCWD) */
DIR *
fdopendir(int fd)
{
errno = ENOSYS;
return NULL;
}