Debug, Debug, Debug
[tpg/acess2.git] / Modules / Filesystems / NTFS / dir.c
index f033141..37661e8 100644 (file)
@@ -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);

UCC git Repository :: git.ucc.asn.au