aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_playlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump_playlist.cxx')
-rw-r--r--test/dump_playlist.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index bf8ddcdfe..5d0ea4aec 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -40,8 +40,8 @@ Directory::Directory() {}
Directory::~Directory() {}
static void
-my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
- const gchar *message, G_GNUC_UNUSED gpointer user_data)
+my_log_func(const gchar *log_domain, gcc_unused GLogLevelFlags log_level,
+ const gchar *message, gcc_unused gpointer user_data)
{
if (log_domain != NULL)
g_printerr("%s: %s\n", log_domain, message);
@@ -50,37 +50,37 @@ my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
}
void
-decoder_initialized(G_GNUC_UNUSED struct decoder *decoder,
- G_GNUC_UNUSED const AudioFormat audio_format,
- G_GNUC_UNUSED bool seekable,
- G_GNUC_UNUSED float total_time)
+decoder_initialized(gcc_unused struct decoder *decoder,
+ gcc_unused const AudioFormat audio_format,
+ gcc_unused bool seekable,
+ gcc_unused float total_time)
{
}
enum decoder_command
-decoder_get_command(G_GNUC_UNUSED struct decoder *decoder)
+decoder_get_command(gcc_unused struct decoder *decoder)
{
return DECODE_COMMAND_NONE;
}
void
-decoder_command_finished(G_GNUC_UNUSED struct decoder *decoder)
+decoder_command_finished(gcc_unused struct decoder *decoder)
{
}
double
-decoder_seek_where(G_GNUC_UNUSED struct decoder *decoder)
+decoder_seek_where(gcc_unused struct decoder *decoder)
{
return 1.0;
}
void
-decoder_seek_error(G_GNUC_UNUSED struct decoder *decoder)
+decoder_seek_error(gcc_unused struct decoder *decoder)
{
}
size_t
-decoder_read(G_GNUC_UNUSED struct decoder *decoder,
+decoder_read(gcc_unused struct decoder *decoder,
struct input_stream *is,
void *buffer, size_t length)
{
@@ -88,31 +88,31 @@ decoder_read(G_GNUC_UNUSED struct decoder *decoder,
}
void
-decoder_timestamp(G_GNUC_UNUSED struct decoder *decoder,
- G_GNUC_UNUSED double t)
+decoder_timestamp(gcc_unused struct decoder *decoder,
+ gcc_unused double t)
{
}
enum decoder_command
-decoder_data(G_GNUC_UNUSED struct decoder *decoder,
- G_GNUC_UNUSED struct input_stream *is,
+decoder_data(gcc_unused struct decoder *decoder,
+ gcc_unused struct input_stream *is,
const void *data, size_t datalen,
- G_GNUC_UNUSED uint16_t kbit_rate)
+ gcc_unused uint16_t kbit_rate)
{
- G_GNUC_UNUSED ssize_t nbytes = write(1, data, datalen);
+ gcc_unused ssize_t nbytes = write(1, data, datalen);
return DECODE_COMMAND_NONE;
}
enum decoder_command
-decoder_tag(G_GNUC_UNUSED struct decoder *decoder,
- G_GNUC_UNUSED struct input_stream *is,
- G_GNUC_UNUSED Tag &&tag)
+decoder_tag(gcc_unused struct decoder *decoder,
+ gcc_unused struct input_stream *is,
+ gcc_unused Tag &&tag)
{
return DECODE_COMMAND_NONE;
}
void
-decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder,
+decoder_replay_gain(gcc_unused struct decoder *decoder,
const struct replay_gain_info *replay_gain_info)
{
const struct replay_gain_tuple *tuple =
@@ -128,7 +128,7 @@ decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder,
}
void
-decoder_mixramp(G_GNUC_UNUSED struct decoder *decoder,
+decoder_mixramp(gcc_unused struct decoder *decoder,
char *mixramp_start, char *mixramp_end)
{
g_free(mixramp_start);