mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-04 23:21:28 +03:00
Constify opendir() and chdir().
This commit is contained in:
parent
30c4bd1b6d
commit
6a53060842
@ -279,7 +279,7 @@ void com_err (const char *str, long err_code, const char *s2, ...)
|
||||
}
|
||||
|
||||
static void *
|
||||
undelfs_opendir (struct vfs_class *me, char *dirname)
|
||||
undelfs_opendir (struct vfs_class *me, const char *dirname)
|
||||
{
|
||||
char *file, *f;
|
||||
|
||||
@ -608,7 +608,7 @@ undelfs_fstat (void *vfs_info, struct stat *buf)
|
||||
}
|
||||
|
||||
static int
|
||||
undelfs_chdir(struct vfs_class *me, char *path)
|
||||
undelfs_chdir(struct vfs_class *me, const char *path)
|
||||
{
|
||||
char *file, *f;
|
||||
int fd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user