From 3c4cd9d08b74d5da62ad95c77e42055c5578ba3b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 21 Dec 2013 21:21:11 +0100 Subject: input/alsa: fix build with gcc 4.6 --- src/input/AlsaInputPlugin.cxx | 24 ++++++++++++------------ 1 file 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, }; -- cgit v1.2.3