X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Ffs%2Fdevfs.c;h=162f11134cdebcc3cbbc3451cb8702886c9a1a7f;hb=f3d0d7fcf0496a63625c92e5ab95471e202e958e;hp=3974573354777159bdd0170cf993779ef8570d3e;hpb=05e8b329edc7c55eec967c3caba1982c173025e3;p=tpg%2Facess2.git diff --git a/Kernel/vfs/fs/devfs.c b/Kernel/vfs/fs/devfs.c index 39745733..162f1113 100644 --- a/Kernel/vfs/fs/devfs.c +++ b/Kernel/vfs/fs/devfs.c @@ -8,9 +8,11 @@ #include // === PROTOTYPES === +#if 0 int DevFS_AddDevice(tDevFS_Driver *Device); void DevFS_DelDevice(tDevFS_Driver *Device); -tVFS_Node *DevFS_InitDevice(char *Device, char **Options); +#endif +tVFS_Node *DevFS_InitDevice(const char *Device, const char **Options); char *DevFS_ReadDir(tVFS_Node *Node, int Pos); tVFS_Node *DevFS_FindDir(tVFS_Node *Node, const char *Name); @@ -98,11 +100,10 @@ void DevFS_DelDevice(tDevFS_Driver *Device) } /** - * \fn tVFS_Node *DevFS_InitDevice(char *Device, char **Options) * \brief Initialise the DevFS and detect double-mounting, or just do nothing * \note STUB */ -tVFS_Node *DevFS_InitDevice(char *Device, char **Options) +tVFS_Node *DevFS_InitDevice(const char *Device, const char **Options) { return &gDevFS_RootNode; }