diff options
author | Christian Hesse | 2019-01-02 17:25:01 +0100 |
---|---|---|
committer | Christian Hesse | 2019-06-05 15:37:49 +0200 |
commit | ccba7eb9d0c43ffe99178ab6632dc3794f887309 (patch) | |
tree | 9d9e8f8638ae2f18745afa802294828d9d92ab82 /ui-refs.c | |
parent | 54c407a74a35d4ee9ffae94cc5bc9096c9f7f54a (diff) | |
download | cgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.tar.gz cgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.tar.bz2 cgit-ccba7eb9d0c43ffe99178ab6632dc3794f887309.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ static int print_tag(struct refinfo *ref) | |||
136 | return 0; | 136 | return 0; |
137 | } | 137 | } |
138 | 138 | ||
139 | static void print_refs_link(char *path) | 139 | static void print_refs_link(const char *path) |
140 | { | 140 | { |
141 | html("<tr class='nohover'><td colspan='5'>"); | 141 | html("<tr class='nohover'><td colspan='5'>"); |
142 | cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path); | 142 | cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path); |