X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFilesystems%2FExt2%2Fwrite.c;h=03109e8a91ea27f9e65942ef2506f791926998b5;hb=a2495c6ea4f4cab16b5d339ae511428e92e89e73;hp=5a7cfc023e1a4fdb67b927507a40d704ef461613;hpb=586a47ab9343a85c944a2cf7b27a74cf459a8423;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/Ext2/write.c b/Modules/Filesystems/Ext2/write.c index 5a7cfc02..03109e8a 100644 --- a/Modules/Filesystems/Ext2/write.c +++ b/Modules/Filesystems/Ext2/write.c @@ -12,7 +12,6 @@ #include "ext2_common.h" // === PROTOYPES === -Uint64 Ext2_Write(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer); Uint32 Ext2_int_AllocateBlock(tExt2_Disk *Disk, Uint32 PrevBlock); void Ext2_int_DeallocateBlock(tExt2_Disk *Disk, Uint32 Block); int Ext2_int_AppendBlock(tExt2_Disk *Disk, tExt2_Inode *Inode, Uint32 Block); @@ -22,7 +21,7 @@ void Ext2_int_DeallocateBlock(tExt2_Disk *Disk, Uint32 Block); * \fn Uint64 Ext2_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer) * \brief Write to a file */ -Uint64 Ext2_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer) +Uint64 Ext2_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, const void *Buffer) { tExt2_Disk *disk = Node->ImplPtr; tExt2_Inode inode;