diff options
| author | Miguel <m.i@gmx.at> | 2018-08-20 00:47:53 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-20 00:47:53 +0200 |
| commit | 39100c30b7a16103e75187c9840a79c7df54f3da (patch) | |
| tree | ea54cd41375e3cc38a291dfff47abffbdb468a7e /fs/mount.h | |
| parent | dc5b5d1e5cf82b06fe97ffc8c9374c055e12a748 (diff) | |
schicophrenic cleanup after realizing many fundamental desgin problems!
Diffstat (limited to 'fs/mount.h')
| -rw-r--r-- | fs/mount.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |
