diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
commit | 85b77b81caa40f8bcd03921380246cb5863d5d21 (patch) | |
tree | cf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/input/DespotifyInputPlugin.cxx | |
parent | 5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff) | |
download | mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip |
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/input/DespotifyInputPlugin.cxx')
-rw-r--r-- | src/input/DespotifyInputPlugin.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx index 18e896608..501a2a5da 100644 --- a/src/input/DespotifyInputPlugin.cxx +++ b/src/input/DespotifyInputPlugin.cxx @@ -95,8 +95,8 @@ refill_buffer(DespotifyInputStream *ctx) } } -static void callback(G_GNUC_UNUSED struct despotify_session* ds, - int sig, G_GNUC_UNUSED void* data, void* callback_data) +static void callback(gcc_unused struct despotify_session* ds, + int sig, gcc_unused void* data, void* callback_data) { DespotifyInputStream *ctx = (DespotifyInputStream *)callback_data; @@ -124,7 +124,7 @@ static void callback(G_GNUC_UNUSED struct despotify_session* ds, static struct input_stream * input_despotify_open(const char *url, Mutex &mutex, Cond &cond, - G_GNUC_UNUSED GError **error_r) + gcc_unused GError **error_r) { struct despotify_session *session; struct ds_link *ds_link; @@ -172,7 +172,7 @@ input_despotify_open(const char *url, static size_t input_despotify_read(struct input_stream *is, void *ptr, size_t size, - G_GNUC_UNUSED GError **error_r) + gcc_unused GError **error_r) { DespotifyInputStream *ctx = (DespotifyInputStream *)is; size_t to_cpy = size; @@ -208,9 +208,9 @@ input_despotify_eof(struct input_stream *is) } static bool -input_despotify_seek(G_GNUC_UNUSED struct input_stream *is, - G_GNUC_UNUSED goffset offset, G_GNUC_UNUSED int whence, - G_GNUC_UNUSED GError **error_r) +input_despotify_seek(gcc_unused struct input_stream *is, + gcc_unused goffset offset, gcc_unused int whence, + gcc_unused GError **error_r) { return false; } |