Commit 05ee057d authored by Max Kellermann's avatar Max Kellermann

InotifyUpdate: remove unnecessary #ifdefs

parent 297e2747
...@@ -26,28 +26,10 @@ ...@@ -26,28 +26,10 @@
class EventLoop; class EventLoop;
class UpdateService; class UpdateService;
#ifdef HAVE_INOTIFY_INIT
void void
mpd_inotify_init(EventLoop &loop, UpdateService &update, unsigned max_depth); mpd_inotify_init(EventLoop &loop, UpdateService &update, unsigned max_depth);
void void
mpd_inotify_finish(void); mpd_inotify_finish(void);
#else /* !HAVE_INOTIFY_INIT */
static inline void
mpd_inotify_init(gcc_unused EventLoop &loop,
gcc_unused UpdateService &update,
gcc_unused unsigned max_depth)
{
}
static inline void
mpd_inotify_finish(void)
{
}
#endif /* !HAVE_INOTIFY_INIT */
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment