From ecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 15 Nov 2023 13:29:16 +0100 Subject: Change path_get_basename arg to const too --- src/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.h') 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 } -- cgit v1.1-32-gdbae