summaryrefslogtreecommitdiff
path: root/fs/mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/mount.h')
-rw-r--r--fs/mount.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/mount.h b/fs/mount.h
index 372e051..0a330a6 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -9,9 +9,9 @@
typedef struct mount_struct
{
- char path[256]; // where are we mounted
- int (*getdents)(struct mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count);
- file (*open)(struct mount_struct*,char *path);
+ char path[256]; // where are we mounted
+ int (*getdents) (struct mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count);
+ file (*open) (struct mount_struct*,char *path);
void *data //opaque
}mount;
@@ -19,7 +19,5 @@ typedef struct mount_struct
mount *mounts_get();
void mount_add(char *path, void *data,file (*open)(struct mount_struct*,char *path),int (*getdents)(struct mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count));
-
-
//
#endif