aboutsummaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inc/fs.h b/src/inc/fs.h
index 222939b..b521ca6 100644
--- a/src/inc/fs.h
+++ b/src/inc/fs.h
@@ -73,6 +73,7 @@ struct inode {
u32 fragment_addr;
u8 os_specific_val2[12];
};
+
#define INODE_SIZE (sizeof(struct inode))
struct dirent {
@@ -93,7 +94,8 @@ struct file {
int find_inode(const char *name, int dir_inode);
struct inode *get_inode(int i);
-void *read_file(struct inode *in);
+void *read_inode(struct inode *in);
+void *read_file(const char *name, int dir_inode);
void ls_root(); // DEMO ;)
#endif