aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
commit1c90b0c19dff120fb4fd8acf413ddbdf16addf28 (patch)
tree11328a0e5b4df0059e6002398bbd383864e45506 /src/decoder
parentcd776ff1a8ae0b0c2ef0068c0ee81332cddac134 (diff)
downloadmpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.gz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.xz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.zip
*: change C-style prototypes, drop "(void)"
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/DecoderList.hxx6
-rw-r--r--src/decoder/DecoderPlugin.hxx2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/decoder/DecoderList.hxx b/src/decoder/DecoderList.hxx
index f44d96c67..26ecc51d7 100644
--- a/src/decoder/DecoderList.hxx
+++ b/src/decoder/DecoderList.hxx
@@ -34,10 +34,12 @@ const struct DecoderPlugin *
decoder_plugin_from_name(const char *name);
/* this is where we "load" all the "plugins" ;-) */
-void decoder_plugin_init_all(void);
+void
+decoder_plugin_init_all();
/* this is where we "unload" all the "plugins" */
-void decoder_plugin_deinit_all(void);
+void
+decoder_plugin_deinit_all();
template<typename F>
static inline const DecoderPlugin *
diff --git a/src/decoder/DecoderPlugin.hxx b/src/decoder/DecoderPlugin.hxx
index 75cba6385..49e2facc9 100644
--- a/src/decoder/DecoderPlugin.hxx
+++ b/src/decoder/DecoderPlugin.hxx
@@ -50,7 +50,7 @@ struct DecoderPlugin {
* Deinitialize a decoder plugin which was initialized
* successfully. Optional method.
*/
- void (*finish)(void);
+ void (*finish)();
/**
* Decode a stream (data read from an #InputStream object).