aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-21 21:21:11 +0100
committerMax Kellermann <max@duempel.org>2013-12-21 21:21:25 +0100
commit3c4cd9d08b74d5da62ad95c77e42055c5578ba3b (patch)
treefbcb5257cd32d00aca50e4ed86878c1abf440845
parentfdb02ee5cabeef94a10d147280b55d4a8ef5189c (diff)
downloadmpd-3c4cd9d08b74d5da62ad95c77e42055c5578ba3b.tar.gz
mpd-3c4cd9d08b74d5da62ad95c77e42055c5578ba3b.tar.xz
mpd-3c4cd9d08b74d5da62ad95c77e42055c5578ba3b.zip
input/alsa: fix build with gcc 4.6
-rw-r--r--src/input/AlsaInputPlugin.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/input/AlsaInputPlugin.cxx b/src/input/AlsaInputPlugin.cxx
index f014434c1..c910ae340 100644
--- a/src/input/AlsaInputPlugin.cxx
+++ b/src/input/AlsaInputPlugin.cxx
@@ -191,16 +191,16 @@ alsa_input_eof(gcc_unused InputStream *is)
};
const struct InputPlugin input_plugin_alsa = {
- .name = "alsa",
- .init = nullptr,
- .finish = nullptr,
- .open = alsa_input_open,
- .close = alsa_input_close,
- .check = nullptr,
- .update = nullptr,
- .tag = nullptr,
- .available = nullptr,
- .read = alsa_input_read,
- .eof = alsa_input_eof,
- .seek = nullptr
+ "alsa",
+ nullptr,
+ nullptr,
+ alsa_input_open,
+ alsa_input_close,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ alsa_input_read,
+ alsa_input_eof,
+ nullptr,
};