aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2019-01-02 17:25:01 +0100
committerChristian Hesse <mail@eworm.de>2019-06-05 15:37:49 +0200
commitccba7eb9d0c43ffe99178ab6632dc3794f887309 (patch)
tree9d9e8f8638ae2f18745afa802294828d9d92ab82 /ui-log.c
parent54c407a74a35d4ee9ffae94cc5bc9096c9f7f54a (diff)
downloadcgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.tar.gz
cgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.tar.bz2
cgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.zip
global: make 'char *path' const where possible
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-log.c b/ui-log.c
index 3bcb657..8c65425 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -362,7 +362,7 @@ static char *next_token(char **src)
}
void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern,
- char *path, int pager, int commit_graph, int commit_sort)
+ const char *path, int pager, int commit_graph, int commit_sort)
{
struct rev_info rev;
struct commit *commit;