* \param Dest New working directory (either absolute or relative to the current)
* \return Boolean Success
*/
-extern int VFS_ChDir(char *Dest);
+extern int VFS_ChDir(const char *Dest);
/**
* \brief Change the current virtual root for the user
* \param New New virtual root (same as ::VFS_ChDir but cannot go
* above the current virtual root)
* \return Boolean success
*/
-extern int VFS_ChRoot(char *New);
+extern int VFS_ChRoot(const char *New);
/**
* \brief Change the location of the current file pointer
/**
* \brief Change current working directory
*/
-int VFS_ChDir(char *Dest)
+int VFS_ChDir(const char *Dest)
{
char *buf;
int fd;
* \fn int VFS_ChRoot(char *New)
* \brief Change current root directory
*/
-int VFS_ChRoot(char *New)
+int VFS_ChRoot(const char *New)
{
char *buf;
int fd;