mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
Modify the position of libc_rent definition
This commit is contained in:
@@ -4527,18 +4527,6 @@ sysret_t sys_rmdir(const char *path)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef RT_USING_MUSLLIBC
|
||||
typedef uint64_t ino_t;
|
||||
#endif
|
||||
|
||||
struct libc_dirent {
|
||||
ino_t d_ino;
|
||||
off_t d_off;
|
||||
unsigned short d_reclen;
|
||||
unsigned char d_type;
|
||||
char d_name[DIRENT_NAME_MAX];
|
||||
};
|
||||
|
||||
sysret_t sys_getdents(int fd, struct libc_dirent *dirp, size_t nbytes)
|
||||
{
|
||||
int ret = -1;
|
||||
|
||||
Reference in New Issue
Block a user