diff options
author | Christian Hesse | 2019-01-02 17:25:01 +0100 |
---|---|---|
committer | Christian Hesse | 2019-06-05 15:37:49 +0200 |
commit | ccba7eb9d0c43ffe99178ab6632dc3794f887309 (patch) | |
tree | 9d9e8f8638ae2f18745afa802294828d9d92ab82 /ui-summary.c | |
parent | 54c407a74a35d4ee9ffae94cc5bc9096c9f7f54a (diff) | |
download | cgit-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-summary.c')
-rw-r--r-- | ui-summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c index 8e81ac4..947812a 100644 --- a/ui-summary.c +++ b/ui-summary.c | |||
@@ -99,7 +99,7 @@ static char* append_readme_path(const char *filename, const char *ref, const cha | |||
99 | return full_path; | 99 | return full_path; |
100 | } | 100 | } |
101 | 101 | ||
102 | void cgit_print_repo_readme(char *path) | 102 | void cgit_print_repo_readme(const char *path) |
103 | { | 103 | { |
104 | char *filename, *ref, *mimetype; | 104 | char *filename, *ref, *mimetype; |
105 | int free_filename = 0; | 105 | int free_filename = 0; |