From 7393db6692c861bc66164c0dd9b83f23a554775b Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 26 Nov 2014 23:17:55 +0100 Subject: changes, improvements and cleanup --- fs/ext2.c | 4 +++- fs/ext2.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/ext2.c b/fs/ext2.c index 55322dd..a530ce6 100644 --- a/fs/ext2.c +++ b/fs/ext2.c @@ -4,10 +4,12 @@ #define FOOLOS_MODULE_NAME "ext2" #include +#include -#include "lib/int/stdint.h" +#include "lib/string/string.h" #include "lib/logger/log.h" #include "fs.h" +#include "ext2.h" typedef struct ext2_superblock_struct { diff --git a/fs/ext2.h b/fs/ext2.h index a5f46b3..1307347 100644 --- a/fs/ext2.h +++ b/fs/ext2.h @@ -1,5 +1,6 @@ -#include "lib/int/stdint.h" +#include int ext2_check(uint8_t *ram); int ext2_inode_content(char *ram,int inode_nr,uint8_t *ramdest,int max); int ext2_read_dir(uint8_t *ram, int inode_nr,fs_dirent *dirs,int max); +int ext2_filename_to_inode(uint8_t *ram, char *path); -- cgit v1.2.3