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

@ -136,7 +136,7 @@ static int print_tag(struct refinfo *ref)
return 0;
}
static void print_refs_link(char *path)
static void print_refs_link(const char *path)
{
html("<tr class='nohover'><td colspan='5'>");
cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path);