From: Matthew Fernandez Date: Sat, 30 May 2020 01:10:33 +0000 (-0700) Subject: mark string arguments to gvplugin_package_record() as const X-Git-Tag: 2.44.1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c803212fd634620c6eb62588aaf044a8c524c7e5;p=graphviz mark string arguments to gvplugin_package_record() as const --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index 59c461441..aaae4f15d 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -90,7 +90,7 @@ extern Dt_t * textfont_dict_open(GVC_t *gvc); */ -static gvplugin_package_t * gvplugin_package_record(GVC_t * gvc, char *path, char *name) +static gvplugin_package_t * gvplugin_package_record(GVC_t * gvc, const char *path, const char *name) { gvplugin_package_t *package = gmalloc(sizeof(gvplugin_package_t)); package->path = (path) ? strdup(path) : NULL;