]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-log.c
global: make 'char *path' const where possible
[cgit.git] / ui-log.c
index 3bcb657657e47265ffe499910a7508ad9323287f..8c654257b16b926aab928246a0b9e6f98cfbcd06 100644 (file)
--- 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;