Re: [Tracker] [PATCH] miner-fs: silent compiler warning on declared but not defined functions
- From: Aleksander Morgado <aleksander lanedo com>
- To: lionel g landwerlin linux intel com
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] [PATCH] miner-fs: silent compiler warning on declared but not defined functions
- Date: Thu, 27 Jan 2011 12:51:36 +0100
On Thu, 2011-01-27 at 11:17 +0000, lionel g landwerlin linux intel com
wrote:
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);
Thanks, applied this one.
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]