aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/InotifyUpdate.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-29 18:36:32 +0100
committerMax Kellermann <max@duempel.org>2014-01-29 18:36:32 +0100
commit4b044bd8e1c180ced319a83551afe85bcba1db2f (patch)
treebd5a285a614a383051f1e8d2e3a46026bdf3bc92 /src/db/update/InotifyUpdate.hxx
parentaeaf64b46757e64bf32e945d52df2c4d447e5aa4 (diff)
downloadmpd-4b044bd8e1c180ced319a83551afe85bcba1db2f.tar.gz
mpd-4b044bd8e1c180ced319a83551afe85bcba1db2f.tar.xz
mpd-4b044bd8e1c180ced319a83551afe85bcba1db2f.zip
InotifyUpdate: pass EventLoop to mpd_inotify_init()
Diffstat (limited to 'src/db/update/InotifyUpdate.hxx')
-rw-r--r--src/db/update/InotifyUpdate.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/db/update/InotifyUpdate.hxx b/src/db/update/InotifyUpdate.hxx
index 2d7d4e3b4..7cf486e5a 100644
--- a/src/db/update/InotifyUpdate.hxx
+++ b/src/db/update/InotifyUpdate.hxx
@@ -21,11 +21,14 @@
#define MPD_INOTIFY_UPDATE_HXX
#include "check.h"
+#include "Compiler.h"
+
+class EventLoop;
#ifdef HAVE_INOTIFY_INIT
void
-mpd_inotify_init(unsigned max_depth);
+mpd_inotify_init(EventLoop &loop, unsigned max_depth);
void
mpd_inotify_finish(void);
@@ -33,7 +36,7 @@ mpd_inotify_finish(void);
#else /* !HAVE_INOTIFY_INIT */
static inline void
-mpd_inotify_init(gcc_unused unsigned max_depth)
+mpd_inotify_init(gcc_unused EventLoop &loop, gcc_unused unsigned max_depth)
{
}