You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/03/26 02:31:42 UTC
[incubator-nuttx] 01/03: include/nuttx/fs/hostfs.h: Appease nxstyle
errors
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit c65bdde5acb787e3d0e9e471c3aaa34d9104221a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Mar 26 10:06:58 2020 +0900
include/nuttx/fs/hostfs.h: Appease nxstyle errors
---
include/nuttx/fs/hostfs.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/nuttx/fs/hostfs.h b/include/nuttx/fs/hostfs.h
index 5b2444d..dd7cb83 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);