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 --- test/run_inotify.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/run_inotify.cxx') 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); } -- cgit v1.2.3