aboutsummaryrefslogtreecommitdiffstats
path: root/src/MessageCommands.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/MessageCommands.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/MessageCommands.cxx')
-rw-r--r--src/MessageCommands.cxx10
1 files changed, 5 insertions, 5 deletions
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 <assert.h>
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);