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

@ -83,7 +83,7 @@ static void add_entry(struct commit *commit, const char *host)
}
void cgit_print_atom(char *tip, char *path, int max_count)
void cgit_print_atom(char *tip, const char *path, int max_count)
{
char *host;
const char *argv[] = {NULL, tip, NULL, NULL, NULL};