From 01a00e7ce6ca04d9df7d90dfb72779ee7a817d69 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 13 Mar 2018 14:24:39 +0300 Subject: [PATCH] extfs: constify some function arguments. Signed-off-by: Andrew Borodin --- src/vfs/extfs/extfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vfs/extfs/extfs.c b/src/vfs/extfs/extfs.c index 04e5de7b8..3c5ce90fe 100644 --- a/src/vfs/extfs/extfs.c +++ b/src/vfs/extfs/extfs.c @@ -744,7 +744,7 @@ extfs_get_path (const vfs_path_t * vpath, extfs_super_t ** archive, gboolean do_ /* Return allocated path (without leading slash) inside the archive */ static char * -extfs_get_path_from_entry (extfs_entry_t * entry) +extfs_get_path_from_entry (const extfs_entry_t * entry) { GString *localpath; @@ -814,7 +814,7 @@ extfs_resolve_symlinks (extfs_entry_t * entry) /* --------------------------------------------------------------------------------------------- */ static char * -extfs_get_archive_name (extfs_super_t * archive) +extfs_get_archive_name (const extfs_super_t * archive) { const char *archive_name; @@ -843,8 +843,8 @@ extfs_get_archive_name (extfs_super_t * archive) /** Don't pass localname as NULL */ static int -extfs_cmd (const char *str_extfs_cmd, extfs_super_t * archive, - extfs_entry_t * entry, const char *localname) +extfs_cmd (const char *str_extfs_cmd, const extfs_super_t * archive, + const extfs_entry_t * entry, const char *localname) { char *file; char *quoted_file;