X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Ffs%2Froot.c;h=e9c9f09cfa81096caa09240a728e10d2f7423a4e;hb=refs%2Ftags%2Frel0.07;hp=d9660419f969467799c80b417fae52baba062f34;hpb=6a945643557084578509e149c84cf5dde3c59c3c;p=tpg%2Facess2.git diff --git a/Kernel/vfs/fs/root.c b/Kernel/vfs/fs/root.c index d9660419..e9c9f09c 100644 --- a/Kernel/vfs/fs/root.c +++ b/Kernel/vfs/fs/root.c @@ -10,7 +10,7 @@ #define MAX_FILES 64 // === PROTOTYPES === -tVFS_Node *Root_InitDevice(char *Device, char **Options); +tVFS_Node *Root_InitDevice(const char *Device, const char **Options); int Root_MkNod(tVFS_Node *Node, const char *Name, Uint Flags); tVFS_Node *Root_FindDir(tVFS_Node *Node, const char *Name); char *Root_ReadDir(tVFS_Node *Node, int Pos); @@ -36,10 +36,9 @@ tVFS_ACL RootFS_FileACLs[3] = { // === CODE === /** - * \fn tVFS_Node *Root_InitDevice(char *Device, char **Options) * \brief Initialise the root filesystem */ -tVFS_Node *Root_InitDevice(char *Device, char **Options) +tVFS_Node *Root_InitDevice(const char *Device, const char **Options) { tRamFS_File *root; if(strcmp(Device, "root") != 0) {