X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFilesystems%2FExt2%2Fext2_common.h;h=be4ae392841f6d2cfb480b130c470a336f285998;hb=4e949acb1c98bc071af2d5d9038b4a3e703bf33d;hp=290b273ba878e9472ca8eecbe5098327aca5d2ce;hpb=4f80abddbbc0e7237b0de6f150da4b8b43fbe499;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/Ext2/ext2_common.h b/Modules/Filesystems/Ext2/ext2_common.h index 290b273b..be4ae392 100644 --- a/Modules/Filesystems/Ext2/ext2_common.h +++ b/Modules/Filesystems/Ext2/ext2_common.h @@ -21,7 +21,7 @@ typedef struct { tVFS_Node RootNode; tExt2_SuperBlock SuperBlock; - int BlockSize; + Uint BlockSize; int GroupCount; tExt2_Group Groups[]; @@ -36,9 +36,9 @@ extern int Ext2_int_ReadInode(tExt2_Disk *Disk, Uint32 InodeId, tExt2_Inode *Ino extern int Ext2_int_WriteInode(tExt2_Disk *Disk, Uint32 InodeId, tExt2_Inode *Inode); // --- Dir --- extern char *Ext2_ReadDir(tVFS_Node *Node, int Pos); -extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, char *FileName); -extern int Ext2_MkNod(tVFS_Node *Node, char *Name, Uint Flags); -extern int Ext2_Link(tVFS_Node *Parent, tVFS_Node *Node, char *Name); +extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, const char *FileName); +extern int Ext2_MkNod(tVFS_Node *Node, const char *Name, Uint Flags); +extern int Ext2_Link(tVFS_Node *Parent, tVFS_Node *Node, const char *Name); // --- Read --- extern Uint64 Ext2_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer); // --- Write ---