From 28fb7e9965d61f2c40a307951f573b00d0dba7da Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 23 Sep 2021 17:16:49 -0700 Subject: [PATCH] smyrna: mark filter_attributes as static This is not used outside of its containing file. --- cmd/smyrna/gui/frmobjectui.c | 2 +- cmd/smyrna/gui/frmobjectui.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index c44534093..baba72c88 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -348,7 +348,7 @@ static void create_filtered_list(char *prefix, attr_list * sl, attr_list * tl) attr_list_add(tl, new_attr_ref(at)); } } -void filter_attributes(char *prefix, topview * t) +static void filter_attributes(char *prefix, topview * t) { int ind; diff --git a/cmd/smyrna/gui/frmobjectui.h b/cmd/smyrna/gui/frmobjectui.h index 238f1a612..75778521f 100644 --- a/cmd/smyrna/gui/frmobjectui.h +++ b/cmd/smyrna/gui/frmobjectui.h @@ -26,7 +26,6 @@ extern attr_list* attr_list_new(Agraph_t * g,int with_widgets ); extern void attr_list_add(attr_list* l,attr_t* a); extern void free_attr_list(attr_list* l); -extern void filter_attributes(char* prefix,topview* t); _BB void on_txtAttr_changed(GtkWidget * widget, gpointer user_data); _BB void attr_label_motion(GtkWidget * widget,GdkEventMotion * event, gpointer data); -- 2.40.0