[tracker/fts-property-names-cleanup: 1/3] libtracker-fts: Make private functions static



commit cf60a9b5fd5896bd8a0fc4bd5a491fe2fd824549
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Aug 14 10:35:59 2014 +0100

    libtracker-fts: Make private functions static

 src/libtracker-fts/tracker-fts.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-fts.c b/src/libtracker-fts/tracker-fts.c
index b39c67e..77351e5 100644
--- a/src/libtracker-fts/tracker-fts.c
+++ b/src/libtracker-fts/tracker-fts.c
@@ -185,7 +185,7 @@ function_property_names (sqlite3_context *context,
 }
 
 static void
-tracker_fts_register_functions (sqlite3 *db)
+fts_register_functions (sqlite3 *db)
 {
        sqlite3_create_function (db, "tracker_rank", 2, SQLITE_ANY,
                                 NULL, &function_rank,
@@ -202,7 +202,7 @@ tracker_fts_register_functions (sqlite3 *db)
 }
 
 static void
-tracker_fts_init_property_names (GHashTable *tables)
+fts_init_property_names (GHashTable *tables)
 {
        GHashTableIter iter;
        GList *c;
@@ -233,9 +233,9 @@ tracker_fts_init_db (sqlite3 *db,
                return FALSE;
        }
 
-       tracker_fts_init_property_names (tables);
+       fts_init_property_names (tables);
+       fts_register_functions (db);
 
-       tracker_fts_register_functions (db);
        return TRUE;
 }
 


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