[tracker/wip/carlosg/update-perf: 31/61] libtracker-sparql/core: Mark functions static




commit beb45fdbe9a38699cd8d1545f11f1f1b72086489
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jul 31 23:51:11 2022 +0200

    libtracker-sparql/core: Mark functions static
    
    These are unused outside of this file.

 src/libtracker-sparql/core/tracker-data-update.c | 28 ++++++++++++------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/libtracker-sparql/core/tracker-data-update.c 
b/src/libtracker-sparql/core/tracker-data-update.c
index e9298f90b..92390272a 100644
--- a/src/libtracker-sparql/core/tracker-data-update.c
+++ b/src/libtracker-sparql/core/tracker-data-update.c
@@ -166,18 +166,18 @@ static gboolean update_resource_single (TrackerData      *data,
                                         TrackerRowid     *id,
                                         GError          **error);
 
-void tracker_data_insert_statement_with_uri    (TrackerData      *data,
-                                                const gchar      *graph,
-                                                TrackerRowid      subject,
-                                                TrackerProperty  *predicate,
-                                                const GValue     *object,
-                                                GError          **error);
-void tracker_data_insert_statement_with_string (TrackerData      *data,
-                                                const gchar      *graph,
-                                                TrackerRowid      subject,
-                                                TrackerProperty  *predicate,
-                                                const GValue     *object,
-                                                GError          **error);
+static void tracker_data_insert_statement_with_uri    (TrackerData      *data,
+                                                       const gchar      *graph,
+                                                       TrackerRowid      subject,
+                                                       TrackerProperty  *predicate,
+                                                       const GValue     *object,
+                                                       GError          **error);
+static void tracker_data_insert_statement_with_string (TrackerData      *data,
+                                                       const gchar      *graph,
+                                                       TrackerRowid      subject,
+                                                       TrackerProperty  *predicate,
+                                                       const GValue     *object,
+                                                       GError          **error);
 
 
 void
@@ -2489,7 +2489,7 @@ tracker_data_insert_statement (TrackerData      *data,
        }
 }
 
-void
+static void
 tracker_data_insert_statement_with_uri (TrackerData      *data,
                                         const gchar      *graph,
                                         TrackerRowid      subject,
@@ -2554,7 +2554,7 @@ tracker_data_insert_statement_with_uri (TrackerData      *data,
        }
 }
 
-void
+static void
 tracker_data_insert_statement_with_string (TrackerData      *data,
                                            const gchar      *graph,
                                            TrackerRowid      subject,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]