From: Matthew Fernandez Date: Sat, 28 Jan 2023 16:38:06 +0000 (-0800) Subject: common fullColor: mark function inputs const X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7080134d8984f194751cda1cbd3bb50caf30f6df;p=graphviz common fullColor: mark function inputs const --- diff --git a/lib/common/colxlate.c b/lib/common/colxlate.c index d4a967f21..7fe312086 100644 --- a/lib/common/colxlate.c +++ b/lib/common/colxlate.c @@ -159,7 +159,7 @@ char *canontoken(char *str) /* fullColor: * Return "/prefix/str" */ -static char *fullColor(agxbuf *xb, char *prefix, char *str) { +static char *fullColor(agxbuf *xb, const char *prefix, const char *str) { agxbprint(xb, "/%s/%s", prefix, str); return agxbuse(xb); }