tracker r2034 - in branches/indexer-split: . src/tracker-indexer
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2034 - in branches/indexer-split: . src/tracker-indexer
- Date: Fri, 8 Aug 2008 09:55:38 +0000 (UTC)
Author: mr
Date: Fri Aug 8 09:55:38 2008
New Revision: 2034
URL: http://svn.gnome.org/viewvc/tracker?rev=2034&view=rev
Log:
* src/tracker-indexer/tracker-ioprio.[ch]:
* src/tracker-indexer/tracker-main.c: Don't require #ifdefs around
the ioprio init, do it in the module instead.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/tracker-ioprio.c
branches/indexer-split/src/tracker-indexer/tracker-ioprio.h
branches/indexer-split/src/tracker-indexer/tracker-main.c
Modified: branches/indexer-split/src/tracker-indexer/tracker-ioprio.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-ioprio.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-ioprio.c Fri Aug 8 09:55:38 2008
@@ -139,4 +139,11 @@
}
}
+#else /* HAVE_IOPRIO */
+
+void
+tracker_ioprio_init (void)
+{
+}
+
#endif /* HAVE_IOPRIO */
Modified: branches/indexer-split/src/tracker-indexer/tracker-ioprio.h
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-ioprio.h (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-ioprio.h Fri Aug 8 09:55:38 2008
@@ -23,12 +23,8 @@
G_BEGIN_DECLS
-#ifdef HAVE_IOPRIO
-
void tracker_ioprio_init (void);
-#endif /* HAVE_IOPRIO */
-
G_END_DECLS
#endif /* __TRACKER_IOPRIO_H__ */
Modified: branches/indexer-split/src/tracker-indexer/tracker-main.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-main.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-main.c Fri Aug 8 09:55:38 2008
@@ -302,10 +302,8 @@
tracker_module_config_init ();
-#ifdef HAVE_IOPRIO
/* Set IO priority */
tracker_ioprio_init ();
-#endif
/* nice() uses attribute "warn_unused_result" and so complains
* if we do not check its returned value. But it seems that
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]