summaryrefslogtreecommitdiff
path: root/file/git-hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/git-hist.c')
-rw-r--r--file/git-hist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file/git-hist.c b/file/git-hist.c
index f878fc0..237fd19 100644
--- a/file/git-hist.c
+++ b/file/git-hist.c
@@ -322,7 +322,7 @@ char *vcs_git_get_rev(struct vcs_hist *h)
}
-const char *vcs_git_summary(struct vcs_hist *h)
+const char *vcs_git_summary(const struct vcs_hist *h)
{
const char *summary;
@@ -336,7 +336,7 @@ const char *vcs_git_summary(struct vcs_hist *h)
}
-char *vcs_git_summary_for_pango(struct vcs_hist *h,
+char *vcs_git_summary_for_pango(const struct vcs_hist *h,
char *(*formatter)(const char *fmt, ...))
{
const char *summary;
@@ -378,7 +378,7 @@ static char *append(char *s, char *add)
* the very specific constraints imposed by the markup format of Pango.
*/
-char *vcs_git_long_for_pango(struct vcs_hist *h,
+char *vcs_git_long_for_pango(const struct vcs_hist *h,
char *(*formatter)(const char *fmt, ...))
{
git_buf buf = { 0 };