From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/InotifyUpdate.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/InotifyUpdate.cxx') diff --git a/src/InotifyUpdate.cxx b/src/InotifyUpdate.cxx index 2de3bf627..95c8317c8 100644 --- a/src/InotifyUpdate.cxx +++ b/src/InotifyUpdate.cxx @@ -233,7 +233,7 @@ recursive_watch_subdirectories(WatchDirectory *directory, closedir(dir); } -G_GNUC_PURE +gcc_pure static unsigned watch_directory_depth(const WatchDirectory *d) { @@ -248,7 +248,7 @@ watch_directory_depth(const WatchDirectory *d) static void mpd_inotify_callback(int wd, unsigned mask, - G_GNUC_UNUSED const char *name, G_GNUC_UNUSED void *ctx) + gcc_unused const char *name, gcc_unused void *ctx) { WatchDirectory *directory; char *uri_fs; -- cgit v1.2.3