summaryrefslogtreecommitdiff
path: root/file/git-hist.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-30 12:27:23 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-30 14:12:33 -0300
commita84bff7c2e35e2ed86a44218076b6d1bc9007e32 (patch)
treeeca6bce7d2e537ea6a467b02288efdb0d6c5b125 /file/git-hist.h
parent103531b2065a491d2188468fcc2eac85552c9c4a (diff)
downloadeeshow-a84bff7c2e35e2ed86a44218076b6d1bc9007e32.tar.gz
eeshow-a84bff7c2e35e2ed86a44218076b6d1bc9007e32.tar.bz2
eeshow-a84bff7c2e35e2ed86a44218076b6d1bc9007e32.zip
file/git-hist.h, git-hist.c (vcs_git_summary, ...): make vcs_hist "const"
Diffstat (limited to 'file/git-hist.h')
-rw-r--r--file/git-hist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/file/git-hist.h b/file/git-hist.h
index 5e2aa56..908b2d6 100644
--- a/file/git-hist.h
+++ b/file/git-hist.h
@@ -56,10 +56,10 @@ struct vcs_history *vcs_git_history(const char *path, unsigned depth);
char *vcs_git_get_rev(struct vcs_hist *h);
bool vcs_is_empty(const struct vcs_history *history);
-const char *vcs_git_summary(struct vcs_hist *hist);
-char *vcs_git_summary_for_pango(struct vcs_hist *hist,
+const char *vcs_git_summary(const struct vcs_hist *hist);
+char *vcs_git_summary_for_pango(const struct vcs_hist *hist,
char *(*formatter)(const char *fmt, ...));
-char *vcs_git_long_for_pango(struct vcs_hist *hist,
+char *vcs_git_long_for_pango(const struct vcs_hist *hist,
char *(*formatter)(const char *fmt, ...));
unsigned threads_number(const struct vcs_history *history);