From: Matthew Fernandez Date: Fri, 6 May 2022 00:52:06 +0000 (-0700) Subject: smyrna: mark 'copy_attr' static X-Git-Tag: 5.0.0~32^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1bc4049acee4da4ebb27369ff9a45d07743cd02;p=graphviz smyrna: mark 'copy_attr' static This function is not used outside of its containing file. --- diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c index a95ae5dea..5d2b9e3b8 100644 --- a/cmd/smyrna/gui/topviewsettings.c +++ b/cmd/smyrna/gui/topviewsettings.c @@ -45,7 +45,7 @@ void on_settingsCancelBtn_clicked(GtkWidget * widget, gpointer user_data) { gtk_widget_hide(glade_xml_get_widget(xml, "dlgSettings")); } -void copy_attr(Agraph_t* destG,char* attr,Agraph_t* g) +static void copy_attr(Agraph_t* destG,char* attr,Agraph_t* g) { agattr(g,AGRAPH,attr,agget(destG,attr)); }