aboutsummaryrefslogtreecommitdiffstats
path: root/src/InotifyUpdate.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
commit85b77b81caa40f8bcd03921380246cb5863d5d21 (patch)
treecf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/InotifyUpdate.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
downloadmpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/InotifyUpdate.cxx')
-rw-r--r--src/InotifyUpdate.cxx4
1 files changed, 2 insertions, 2 deletions
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;