aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_inotify.cxx
diff options
context:
space:
mode:
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);
}