From: Jeff Smith Date: Mon, 2 Oct 2017 04:39:07 +0000 (-0500) Subject: ui-shared: make a char* parameter const X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/f6ffe40d1a2c985494e48dc2d36663ffde1e6044?hp=f6ffe40d1a2c985494e48dc2d36663ffde1e6044 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 Reviewed-by: John Keeping ---