InotifyUpdate: remove unnecessary #ifdefs

This commit is contained in:
Max Kellermann 2014-02-07 22:17:27 +01:00
parent 297e2747f3
commit 05ee057db5

View File

@ -26,28 +26,10 @@
class EventLoop;
class UpdateService;
#ifdef HAVE_INOTIFY_INIT
void
mpd_inotify_init(EventLoop &loop, UpdateService &update, unsigned max_depth);
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