git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed `make install` issues, bugs with VESA
[tpg/acess2.git]
/
Kernel
/
vfs
/
fs
/
devfs.c
diff --git
a/Kernel/vfs/fs/devfs.c
b/Kernel/vfs/fs/devfs.c
index
3974573
..
162f111
100644
(file)
--- a/
Kernel/vfs/fs/devfs.c
+++ b/
Kernel/vfs/fs/devfs.c
@@
-8,9
+8,11
@@
#include <fs_devfs.h>
// === PROTOTYPES ===
#include <fs_devfs.h>
// === PROTOTYPES ===
+#if 0
int DevFS_AddDevice(tDevFS_Driver *Device);
void DevFS_DelDevice(tDevFS_Driver *Device);
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);
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
*/
* \brief Initialise the DevFS and detect double-mounting, or just do nothing
* \note STUB
*/
-tVFS_Node *DevFS_InitDevice(c
har *Device,
char **Options)
+tVFS_Node *DevFS_InitDevice(c
onst char *Device, const
char **Options)
{
return &gDevFS_RootNode;
}
{
return &gDevFS_RootNode;
}
UCC
git Repository :: git.ucc.asn.au