diff options
| author | Jeff Smith <[email protected]> | 2017-10-02 04:39:07 +0000 |
|---|---|---|
| committer | John Keeping <[email protected]> | 2017-10-03 18:19:34 +0000 |
| commit | f6ffe40d1a2c985494e48dc2d36663ffde1e6044 (patch) | |
| tree | 7fc72e55df7be47827a276a73926f8f31f4b55e2 /ui-blame.c | |
| parent | ui-tree: move set_title_from_path to ui-shared (diff) | |
| download | cgit-f6ffe40d1a2c985494e48dc2d36663ffde1e6044.tar.gz cgit-f6ffe40d1a2c985494e48dc2d36663ffde1e6044.zip | |
ui-shared: make a char* parameter const
All cgit_xxx_link functions take const char* for the 'name' parameter,
except for cgit_commit_link, which takes a char* and subsequently
modifies the contents. Avoiding the content changes, and making it
const char* will avoid the need to make copies of const char* strings
being passed to cgit_commit_link.
Signed-off-by: Jeff Smith <[email protected]>
Reviewed-by: John Keeping <[email protected]>
Diffstat (limited to 'ui-blame.c')
0 files changed, 0 insertions, 0 deletions
