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/MessageCommands.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/MessageCommands.cxx') diff --git a/src/MessageCommands.cxx b/src/MessageCommands.cxx index 4e24a1828..2971b4cde 100644 --- a/src/MessageCommands.cxx +++ b/src/MessageCommands.cxx @@ -33,7 +33,7 @@ #include enum command_return -handle_subscribe(Client *client, G_GNUC_UNUSED int argc, char *argv[]) +handle_subscribe(Client *client, gcc_unused int argc, char *argv[]) { assert(argc == 2); @@ -62,7 +62,7 @@ handle_subscribe(Client *client, G_GNUC_UNUSED int argc, char *argv[]) } enum command_return -handle_unsubscribe(Client *client, G_GNUC_UNUSED int argc, char *argv[]) +handle_unsubscribe(Client *client, gcc_unused int argc, char *argv[]) { assert(argc == 2); @@ -77,7 +77,7 @@ handle_unsubscribe(Client *client, G_GNUC_UNUSED int argc, char *argv[]) enum command_return handle_channels(Client *client, - G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[]) + gcc_unused int argc, gcc_unused char *argv[]) { assert(argc == 1); @@ -94,7 +94,7 @@ handle_channels(Client *client, enum command_return handle_read_messages(Client *client, - G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[]) + gcc_unused int argc, gcc_unused char *argv[]) { assert(argc == 1); @@ -111,7 +111,7 @@ handle_read_messages(Client *client, enum command_return handle_send_message(Client *client, - G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[]) + gcc_unused int argc, gcc_unused char *argv[]) { assert(argc == 3); -- cgit v1.2.3