[Tracker] [PATCH] miner-fs: silent compiler warning on declared but not defined functions
- From: lionel g landwerlin linux intel com
- To: tracker-list gnome org
- Subject: [Tracker] [PATCH] miner-fs: silent compiler warning on declared but not defined functions
- Date: Thu, 27 Jan 2011 11:17:44 +0000
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
src/miners/fs/tracker-miner-files.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index f44b56f..e4916e9 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -164,6 +164,7 @@ static void mount_point_removed_cb (TrackerStorage *s
const gchar *uuid,
const gchar *mount_point,
gpointer user_data);
+#if defined(HAVE_UPOWER) || defined(HAVE_HAL)
static void check_battery_status (TrackerMinerFiles *fs);
static void battery_status_cb (GObject *object,
GParamSpec *pspec,
@@ -171,6 +172,7 @@ static void battery_status_cb (GObject *o
static void index_on_battery_cb (GObject *object,
GParamSpec *pspec,
gpointer user_data);
+#endif /* defined(HAVE_UPOWER) || defined(HAVE_HAL) */
static void init_mount_points (TrackerMinerFiles *miner);
static void init_stale_volume_removal (TrackerMinerFiles *miner);
static void disk_space_check_start (TrackerMinerFiles *mf);
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]