summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-11-15 13:29:16 +0100
committerGravatar Nikias Bassen2023-11-15 13:29:16 +0100
commitecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7 (patch)
tree308deea20641c87fc4e2c5f345a683869a73ec34 /src/common.h
parentacecac3cb8b66fddd9dc811c920c6b7dfb969895 (diff)
downloadidevicerestore-ecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7.tar.gz
idevicerestore-ecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7.tar.bz2
Change path_get_basename arg to const too
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 974d505..493b1df 100644
--- a/src/common.h
+++ b/src/common.h
@@ -197,7 +197,7 @@ int _plist_dict_copy_data(plist_t target_dict, plist_t source_dict, const char *
int _plist_dict_copy_string(plist_t target_dict, plist_t source_dict, const char *key, const char *alt_source_key);
int _plist_dict_copy_item(plist_t target_dict, plist_t source_dict, const char *key, const char *alt_source_key);
-const char* path_get_basename(char* path);
+const char* path_get_basename(const char* path);
#ifdef __cplusplus
}