X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FNTFS%2Fmain.c;h=b9c4b8dd5b9bde0457f9dccdf3005c58faf22305;hb=bffac877be10357e17ba29ffce8978efc405afdd;hp=dbda06e1e7b184d399c1b2370efdc7941e4e2dd7;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/NTFS/main.c b/KernelLand/Modules/Filesystems/NTFS/main.c index dbda06e1..b9c4b8dd 100644 --- a/KernelLand/Modules/Filesystems/NTFS/main.c +++ b/KernelLand/Modules/Filesystems/NTFS/main.c @@ -11,10 +11,6 @@ #include "common.h" #include -// === IMPORTS === -extern char *NTFS_ReadDir(tVFS_Node *Node, int Pos); -extern tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name); - // === PROTOTYPES === int NTFS_Install(char **Arguments); tVFS_Node *NTFS_InitDevice(const char *Devices, const char **Options); @@ -23,7 +19,12 @@ void NTFS_DumpEntry(tNTFS_Disk *Disk, Uint32 Entry); // === GLOBALS === MODULE_DEFINE(0, 0x0A /*v0.1*/, FS_NTFS, NTFS_Install, NULL); -tVFS_Driver gNTFS_FSInfo = {"ntfs", 0, NTFS_InitDevice, NTFS_Unmount, NULL}; +tVFS_Driver gNTFS_FSInfo = { + .Name = "ntfs", + .InitDevice = NTFS_InitDevice, + .Unmount = NTFS_Unmount, + .GetNodeFromINode = NULL +}; tVFS_NodeType gNTFS_DirType = { .TypeName = "NTFS-File", .ReadDir = NTFS_ReadDir,