]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'copy_attr' static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 6 May 2022 00:52:06 +0000 (17:52 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Jun 2022 16:21:54 +0000 (09:21 -0700)
This function is not used outside of its containing file.

cmd/smyrna/gui/topviewsettings.c

index a95ae5deac5f072ca17918c1516a4a8488b3b822..5d2b9e3b8fbb82c683dee3bfdf3201cd4b9e10de 100644 (file)
@@ -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));
 }