[tracker] miner-fs: silent compiler warning on declared but not defined functions
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] miner-fs: silent compiler warning on declared but not defined functions
- Date: Thu, 27 Jan 2011 11:49:18 +0000 (UTC)
commit 0a4b66008fae822061f1eec03db249d3b1303a3c
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Thu Jan 27 11:17:44 2011 +0000
miner-fs: silent compiler warning on declared but not defined functions
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 8fc903e..cf1854e 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -170,6 +170,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,
@@ -177,6 +178,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]