Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2019-01-02 19:25:01 +0300
committerChristian Hesse <mail@eworm.de>2019-06-05 16:37:49 +0300
commitccba7eb9d0c43ffe99178ab6632dc3794f887309 (patch)
tree9d9e8f8638ae2f18745afa802294828d9d92ab82 /ui-refs.c
parent54c407a74a35d4ee9ffae94cc5bc9096c9f7f54a (diff)
global: make 'char *path' const where possible
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-refs.c')
-rw-r--r--ui-refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-refs.c b/ui-refs.c
index 2ec3858..456f610 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -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);