diff options
author | Christian Hesse <mail@eworm.de> | 2019-01-02 17:25:01 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-06-05 15:37:49 +0200 |
commit | ccba7eb9d0c43ffe99178ab6632dc3794f887309 (patch) | |
tree | 9d9e8f8638ae2f18745afa802294828d9d92ab82 /ui-atom.c | |
parent | ui-shared: restrict to 15 levels (diff) | |
download | cgit-pink-ccba7eb9d0c43ffe99178ab6632dc3794f887309.tar.gz cgit-pink-ccba7eb9d0c43ffe99178ab6632dc3794f887309.zip |
global: make 'char *path' const where possible
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to '')
-rw-r--r-- | ui-atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |