From 05ee057db55678d3fccbb10d02ee9d41879eef56 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Feb 2014 22:17:27 +0100 Subject: InotifyUpdate: remove unnecessary #ifdefs --- src/db/update/InotifyUpdate.hxx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/db/update/InotifyUpdate.hxx b/src/db/update/InotifyUpdate.hxx index 0260a4ff5..d378770c0 100644 --- a/src/db/update/InotifyUpdate.hxx +++ b/src/db/update/InotifyUpdate.hxx @@ -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 -- cgit v1.2.3