diff --git a/include/nuttx/fs/hostfs.h b/include/nuttx/fs/hostfs.h index 5b2444dba4e..dd7cb835d8f 100644 --- a/include/nuttx/fs/hostfs.h +++ b/include/nuttx/fs/hostfs.h @@ -122,8 +122,8 @@ typedef uint32_t nuttx_time_t; struct nuttx_dirent_s { - uint8_t d_type; /* type of file */ - char d_name[NUTTX_NAME_MAX+1]; /* filename */ + uint8_t d_type; /* type of file */ + char d_name[NUTTX_NAME_MAX + 1]; /* filename */ }; /* These must exactly match the definition from include/sys/statfs.h: */ @@ -177,9 +177,9 @@ int host_dup(int fd); int host_fstat(int fd, struct nuttx_stat_s *buf); int host_ftruncate(int fd, off_t length); void *host_opendir(const char *name); -int host_readdir(void* dirp, struct nuttx_dirent_s* entry); -void host_rewinddir(void* dirp); -int host_closedir(void* dirp); +int host_readdir(void *dirp, struct nuttx_dirent_s *entry); +void host_rewinddir(void *dirp); +int host_closedir(void *dirp); int host_statfs(const char *path, struct nuttx_statfs_s *buf); int host_unlink(const char *pathname); int host_mkdir(const char *pathname, mode_t mode); @@ -198,9 +198,9 @@ int host_dup(int fd); int host_fstat(int fd, struct stat *buf); int host_ftruncate(int fd, off_t length); void *host_opendir(const char *name); -int host_readdir(void* dirp, struct dirent *entry); -void host_rewinddir(void* dirp); -int host_closedir(void* dirp); +int host_readdir(void *dirp, struct dirent *entry); +void host_rewinddir(void *dirp); +int host_closedir(void *dirp); int host_statfs(const char *path, struct statfs *buf); int host_unlink(const char *pathname); int host_mkdir(const char *pathname, mode_t mode);