X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Fmain.c;h=dc43fbf0f8cf42949f5e20908af23044d43bf0d1;hb=4e949acb1c98bc071af2d5d9038b4a3e703bf33d;hp=ef1cd569bfc35c73a3708d0718ea2bf9d59ab36c;hpb=b5a1402b18d2f8cb360bf2fc524609b374bac8ec;p=tpg%2Facess2.git diff --git a/Kernel/vfs/main.c b/Kernel/vfs/main.c index ef1cd569..dc43fbf0 100644 --- a/Kernel/vfs/main.c +++ b/Kernel/vfs/main.c @@ -14,9 +14,9 @@ extern tVFS_Driver gDevFS_Info; // === PROTOTYPES === int VFS_Init(void); -char *VFS_GetTruePath(char *Path); +char *VFS_GetTruePath(const char *Path); void VFS_GetMemPath(char *Dest, void *Base, Uint Length); -tVFS_Driver *VFS_GetFSByName(char *Name); +tVFS_Driver *VFS_GetFSByName(const char *Name); int VFS_AddDriver(tVFS_Driver *Info); void VFS_UpdateDriverFile(void); @@ -62,10 +62,10 @@ int VFS_Init(void) } /** - * \fn char *VFS_GetTruePath(char *Path) + * \fn char *VFS_GetTruePath(const char *Path) * \brief Gets the true path (non-symlink) of a file */ -char *VFS_GetTruePath(char *Path) +char *VFS_GetTruePath(const char *Path) { tVFS_Node *node; char *ret, *tmp; @@ -97,10 +97,10 @@ void VFS_GetMemPath(char *Dest, void *Base, Uint Length) } /** - * \fn tVFS_Driver *VFS_GetFSByName(char *Name) + * \fn tVFS_Driver *VFS_GetFSByName(const char *Name) * \brief Gets a filesystem structure given a name */ -tVFS_Driver *VFS_GetFSByName(char *Name) +tVFS_Driver *VFS_GetFSByName(const char *Name) { tVFS_Driver *drv = gVFS_Drivers;