mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(vfs_get_raw_current_dir): return pointer to constant.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
ad6e60d86f
commit
f35a11e95c
@ -182,7 +182,7 @@ vfs_stamp_create (struct vfs_class *vclass, vfsid id)
|
||||
vfsid nvfsid;
|
||||
|
||||
ev_vfs_stamp_create_t event_data = { vclass, id, FALSE };
|
||||
vfs_path_t *vpath;
|
||||
const vfs_path_t *vpath;
|
||||
const vfs_path_element_t *path_element;
|
||||
|
||||
/* There are three directories we have to take care of: current_dir,
|
||||
|
@ -374,7 +374,7 @@ vfs_get_current_dir (void)
|
||||
* @return object contain current path
|
||||
*/
|
||||
|
||||
vfs_path_t *
|
||||
const vfs_path_t *
|
||||
vfs_get_raw_current_dir (void)
|
||||
{
|
||||
return current_path;
|
||||
|
@ -232,7 +232,7 @@ int vfs_timeouts (void);
|
||||
void vfs_expire (int now);
|
||||
|
||||
char *vfs_get_current_dir (void);
|
||||
vfs_path_t *vfs_get_raw_current_dir (void);
|
||||
const vfs_path_t *vfs_get_raw_current_dir (void);
|
||||
void vfs_set_raw_current_dir (const vfs_path_t * vpath);
|
||||
|
||||
gboolean vfs_current_is_local (void);
|
||||
|
Loading…
Reference in New Issue
Block a user