(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:
Andrew Borodin 2012-03-23 14:38:36 +03:00 committed by Slava Zanko
parent dbdc471553
commit a4426ee8d7
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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;

View File

@ -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);