2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-31 14:25:15 +00:00

global: make 'char *path' const where possible

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse
2019-01-02 17:25:01 +01:00
parent 54c407a74a
commit ccba7eb9d0
9 changed files with 10 additions and 10 deletions

View File

@@ -99,7 +99,7 @@ static char* append_readme_path(const char *filename, const char *ref, const cha
return full_path;
}
void cgit_print_repo_readme(char *path)
void cgit_print_repo_readme(const char *path)
{
char *filename, *ref, *mimetype;
int free_filename = 0;