From e3a8099343aac9d94f411638ad84632d4b620132 Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 15 Oct 2018 16:29:50 +0200 Subject: cleanup sys/ etc --- fs/mount.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs/mount.h') diff --git a/fs/mount.h b/fs/mount.h index ba3d704..97d7183 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -19,7 +19,7 @@ #include -#include "interface/fs.h" // provides fs_dirent structure for read_dir() +#include // provides fs_dirent structure for read_dir() #include "fd.h" // file descriptor returned by open /** the possible values for mount_struct.type */ @@ -36,7 +36,7 @@ typedef struct mount_struct char path[256]; // where are we mounted (provide leading and trailing slash!) fd (*mount_file_open)(struct mount_struct*, char *path); - int (*mount_read_dir) (struct mount_struct*, char *path, fs_dirent *dirs, uint32_t *pos); + int (*mount_read_dir) (struct mount_struct*, char *path, struct dirent *dirs, uint32_t *pos); void *data; // pointer to some opaque private data @@ -49,7 +49,7 @@ void mount_add(mount mnt); fd mount_file_open(char *path); /** TODO: should use fd number instead of PATH on each call*/ -int mount_read_dir (char *path, fs_dirent *dirs, uint32_t *pos); +int mount_read_dir (char *path, struct dirent *dirs, uint32_t *pos); /** sysfs interface / exposing status via /sysfs/ file */ void mount_sysfs(ringbuffer *r, void (*f)(ringbuffer *r,char *fmt, ...)); -- cgit v1.2.3