aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_inotify.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 /test/run_inotify.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
downloadmpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip
*: use gcc.h macros instead of GLib
Diffstat (limited to 'test/run_inotify.cxx')
-rw-r--r--test/run_inotify.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run_inotify.cxx b/test/run_inotify.cxx
index 29fcf70ab..e8ca4c8bd 100644
--- a/test/run_inotify.cxx
+++ b/test/run_inotify.cxx
@@ -29,7 +29,7 @@
static EventLoop *event_loop;
static void
-exit_signal_handler(G_GNUC_UNUSED int signum)
+exit_signal_handler(gcc_unused int signum)
{
event_loop->Break();
}
@@ -43,8 +43,8 @@ enum {
};
static void
-my_inotify_callback(G_GNUC_UNUSED int wd, unsigned mask,
- const char *name, G_GNUC_UNUSED void *ctx)
+my_inotify_callback(gcc_unused int wd, unsigned mask,
+ const char *name, gcc_unused void *ctx)
{
g_print("mask=0x%x name='%s'\n", mask, name);
}