]> git.ipfire.org Git - thirdparty/git.git/blobdiff - setup.c
Make prefix_path() return char* without const
[thirdparty/git.git] / setup.c
diff --git a/setup.c b/setup.c
index 833db12bc4591c97f66998da96b23de48d319603..f930dc09631f454a2d268dc03beb6eaeb960b142 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -4,7 +4,7 @@
 static int inside_git_dir = -1;
 static int inside_work_tree = -1;
 
-const char *prefix_path(const char *prefix, int len, const char *path)
+char *prefix_path(const char *prefix, int len, const char *path)
 {
        const char *orig = path;
        char *sanitized = xmalloc(len + strlen(path) + 1);