From ccba7eb9d0c43ffe99178ab6632dc3794f887309 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jan 2019 17:25:01 +0100 Subject: global: make 'char *path' const where possible Signed-off-by: Christian Hesse --- ui-atom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-atom.c') diff --git a/ui-atom.c b/ui-atom.c index 3866823..cd66f82 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -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}; -- cgit v1.2.3-70-g09d2