X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFilesystems%2FNTFS%2Fdir.c;h=37661e82071c3b77063e2fbb4188725411969e19;hb=adbdc45e64c40f7d3a022caedeb22f5e95dcd12a;hp=f03314158e1a9656afdcb43025189ae928f197ce;hpb=34045a2b0b279c263feb3a200412087fcca30233;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/NTFS/dir.c b/Modules/Filesystems/NTFS/dir.c index f0331415..37661e82 100644 --- a/Modules/Filesystems/NTFS/dir.c +++ b/Modules/Filesystems/NTFS/dir.c @@ -7,10 +7,11 @@ * dir.c - Directory Handling */ #include "common.h" +#include "index.h" // === PROTOTYPES === char *NTFS_ReadDir(tVFS_Node *Node, int Pos); -tVFS_Node *NTFS_FindDir(tVFS_Node *Node, char *Name); +tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name); Uint64 NTFS_int_IndexLookup(Uint64 Inode, const char *IndexName, const char *Str); // === CODE === @@ -25,7 +26,7 @@ char *NTFS_ReadDir(tVFS_Node *Node, int Pos) /** * \brief Get an entry from a directory by name */ -tVFS_Node *NTFS_FindDir(tVFS_Node *Node, char *Name) +tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name) { tNTFS_Disk *disk = Node->ImplPtr; Uint64 inode = NTFS_int_IndexLookup(Node->Inode, "$I30", Name);