aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-12 16:38:54 +0200
committerMax Kellermann <max@duempel.org>2008-09-12 16:38:54 +0200
commita84de9b0101b60836c3d22baf1e6d163aa091f6c (patch)
treeab3758f6c75078534e91641a5319857d93e19797 /src/audioOutputs/audioOutput_shout.c
parent5f8eebd122ebf49bfcb6b6d6c6063bb1a932e7ff (diff)
downloadmpd-a84de9b0101b60836c3d22baf1e6d163aa091f6c.tar.gz
mpd-a84de9b0101b60836c3d22baf1e6d163aa091f6c.tar.xz
mpd-a84de9b0101b60836c3d22baf1e6d163aa091f6c.zip
shout: removed typedefs on structs and plugin methods
Don't typedef the structs at all. It is easier to forward-declare this way. Don't typedef methods. They are used exactly once, a few lines below.
Diffstat (limited to 'src/audioOutputs/audioOutput_shout.c')
-rw-r--r--src/audioOutputs/audioOutput_shout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 82a68fa9f..8816b57f4 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -42,7 +42,7 @@ static void init_shout_encoder_plugins(void)
shout_encoder_plugin_list = makeList(NULL, 0);
}
-static void load_shout_encoder_plugin(shout_encoder_plugin * plugin)
+static void load_shout_encoder_plugin(struct shout_encoder_plugin * plugin)
{
if (!plugin->name)
return;
@@ -50,7 +50,7 @@ static void load_shout_encoder_plugin(shout_encoder_plugin * plugin)
}
mpd_unused
-static void unload_shout_encoder_plugin(shout_encoder_plugin * plugin)
+static void unload_shout_encoder_plugin(struct shout_encoder_plugin * plugin)
{
if (!plugin->name)
return;
@@ -229,7 +229,7 @@ static int my_shout_init_driver(struct audio_output *audio_output,
FATAL("couldn't find shout encoder plugin for \"%s\" "
"at line %i\n", encoding, block_param->line);
}
- sd->encoder = (shout_encoder_plugin *) data;
+ sd->encoder = (struct shout_encoder_plugin *) data;
if (shout_set_host(sd->shout_conn, host) != SHOUTERR_SUCCESS ||
shout_set_port(sd->shout_conn, port) != SHOUTERR_SUCCESS ||