[tracker] libtracker-db: Removed unused symbols



commit 23da055fa9ebb3cbcbb58f12d7a33d15e9f0b2a6
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Mar 26 15:02:40 2010 +0100

    libtracker-db: Removed unused symbols

 src/libtracker-db/tracker-db-interface-sqlite.c |   17 +----------------
 src/libtracker-db/tracker-db-interface-sqlite.h |    3 ---
 2 files changed, 1 insertions(+), 19 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 86509c3..4a6fb0a 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -55,7 +55,6 @@
 typedef struct TrackerDBInterfaceSqlitePrivate TrackerDBInterfaceSqlitePrivate;
 typedef struct TrackerDBStatementSqlitePrivate TrackerDBStatementSqlitePrivate;
 typedef struct TrackerDBCursorSqlitePrivate TrackerDBCursorSqlitePrivate;
-typedef struct SqliteFunctionData SqliteFunctionData;
 typedef struct TrackerDBCursorSqlite TrackerDBCursorSqlite;
 typedef struct TrackerDBCursorSqliteClass TrackerDBCursorSqliteClass;
 typedef struct TrackerDBStatementSqlite      TrackerDBStatementSqlite;
@@ -96,12 +95,6 @@ struct TrackerDBCursorSqlitePrivate {
 	gboolean finished;
 };
 
-struct SqliteFunctionData {
-	TrackerDBInterface *interface;
-	TrackerDBFunc func;
-};
-
-
 struct TrackerDBStatementSqlite {
 	GObject parent_instance;
 };
@@ -169,7 +162,7 @@ function_sparql_string_join (sqlite3_context *context,
 	for (i = 0;i < argc-1; i++) {
 		if (sqlite3_value_type (argv[argc-1]) == SQLITE_TEXT) {
 			const gchar *text = sqlite3_value_text (argv[i]);
-			
+
 			if (text != NULL) {
 				if (!str) {
 					str = g_string_new (text);
@@ -223,8 +216,6 @@ function_sparql_string_from_filename (sqlite3_context *context,
 	g_strdelimit (name, "._", ' ');
 
 	sqlite3_result_text (context, name, -1, g_free);
-
-	return;
 }
 
 static void
@@ -260,8 +251,6 @@ function_sparql_cartesian_distance (sqlite3_context *context,
 	d = R*c;
 
 	sqlite3_result_double (context, d);
-
-	return;
 }
 
 static void
@@ -299,8 +288,6 @@ function_sparql_haversine_distance (sqlite3_context *context,
 	d = R * c;
 
 	sqlite3_result_double (context, d);
-
-	return;
 }
 
 static void
@@ -367,8 +354,6 @@ function_sparql_regex (sqlite3_context *context,
 	ret = g_regex_match (regex, text, 0, NULL);
 
 	sqlite3_result_int (context, ret);
-
-	return;
 }
 
 
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.h b/src/libtracker-db/tracker-db-interface-sqlite.h
index c104b35..e4bc441 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.h
+++ b/src/libtracker-db/tracker-db-interface-sqlite.h
@@ -42,9 +42,6 @@ typedef gint (* TrackerDBCollationFunc) (gchar *str1,
                                          gint   len1,
                                          gchar *str2,
                                          gint   len2);
-typedef GValue (* TrackerDBFunc) (TrackerDBInterface *interface,
-                                  gint                argc,
-                                  GValue              argv[]);
 
 struct TrackerDBInterfaceSqlite {
 	GObject parent_instance;



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