InotifyUpdate: remove unnecessary #ifdefs
This commit is contained in:
parent
297e2747f3
commit
05ee057db5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user