From 9e23fcc5e247511170e28f7c49d707642c038300 Mon Sep 17 00:00:00 2001
From: Matthew Fernandez <matthew.fernandez@gmail.com>
Date: Sat, 1 May 2021 19:25:12 -0700
Subject: [PATCH] mark attr_value_edited_cb functions as static

Both copies of this function are only used within their containing file.
---
 plugin.demo/xgtk/src/gvdevice_xgtk.c | 2 +-
 plugin/gtk/gvdevice_gtk.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin.demo/xgtk/src/gvdevice_xgtk.c b/plugin.demo/xgtk/src/gvdevice_xgtk.c
index 08fccfaa1..1e5fdf1ef 100644
--- a/plugin.demo/xgtk/src/gvdevice_xgtk.c
+++ b/plugin.demo/xgtk/src/gvdevice_xgtk.c
@@ -29,7 +29,7 @@
 #include "support.h"
 
 // note that we do not own the newly entered string - must copy
-void
+static void
 attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data)
 {
 	GtkTreeModel *model = GTK_TREE_MODEL(data);
diff --git a/plugin/gtk/gvdevice_gtk.c b/plugin/gtk/gvdevice_gtk.c
index c2b62d71f..a9d8d5322 100644
--- a/plugin/gtk/gvdevice_gtk.c
+++ b/plugin/gtk/gvdevice_gtk.c
@@ -29,7 +29,7 @@
 #include "support.h"
 
 // note that we do not own the newly entered string - must copy
-void
+static void
 attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data)
 {
 	GtkTreeModel *model = GTK_TREE_MODEL(data);
-- 
2.40.0