mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
global: make 'char *path' const where possible
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
54c407a74a
commit
ccba7eb9d0
9 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue