aboutsummaryrefslogtreecommitdiffstats
path: root/src/DespotifyUtils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DespotifyUtils.cxx')
-rw-r--r--src/DespotifyUtils.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DespotifyUtils.cxx b/src/DespotifyUtils.cxx
index c45722379..2c4b5bfb7 100644
--- a/src/DespotifyUtils.cxx
+++ b/src/DespotifyUtils.cxx
@@ -32,8 +32,9 @@ static void (*registered_callbacks[8])(struct despotify_session *,
int, void *, void *);
static void *registered_callback_data[8];
-static void callback(struct despotify_session* ds, int sig,
- void* data, G_GNUC_UNUSED void* callback_data)
+static void
+callback(struct despotify_session* ds, int sig,
+ void *data, gcc_unused void *callback_data)
{
size_t i;