From: Matthew Fernandez Date: Sat, 29 May 2021 21:05:33 +0000 (-0700) Subject: mark name and plugin_path to gvplugin_activate as const X-Git-Tag: 2.47.3~15^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d9b596254284ec52f22f275838777391c4166f7;p=graphviz mark name and plugin_path to gvplugin_activate as const Neither of these are modified by the function. --- diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index d59199d20..f09dab28b 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -129,8 +129,8 @@ boolean gvplugin_install(GVC_t * gvc, api_t api, const char *typestr, * manually changed in the config file. */ static boolean gvplugin_activate(GVC_t * gvc, api_t api, - const char *typestr, char *name, - char *plugin_path, + const char *typestr, const char *name, + const char *plugin_path, gvplugin_installed_t * typeptr) { gvplugin_available_t *pnext;