summaryrefslogtreecommitdiffstats
path: root/revision.h
diff options
context:
space:
mode:
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index 6fcfb8ce0c..e5b8908fde 100644
--- a/revision.h
+++ b/revision.h
@@ -141,7 +141,7 @@ struct name_path {
const char *elem;
};
-char *path_name(struct name_path *path, const char *name);
+char *path_name(const struct name_path *path, const char *name);
extern void add_object(struct object *obj,
struct object_array *p,