aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive
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/archive
parentcd776ff1a8ae0b0c2ef0068c0ee81332cddac134 (diff)
downloadmpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.gz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.xz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.zip
*: change C-style prototypes, drop "(void)"
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/ArchiveList.hxx6
-rw-r--r--src/archive/ArchivePlugin.hxx4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/archive/ArchiveList.hxx b/src/archive/ArchiveList.hxx
index 7efe03914..73d17dd13 100644
--- a/src/archive/ArchiveList.hxx
+++ b/src/archive/ArchiveList.hxx
@@ -39,9 +39,11 @@ const ArchivePlugin *
archive_plugin_from_name(const char *name);
/* this is where we "load" all the "plugins" ;-) */
-void archive_plugin_init_all(void);
+void
+archive_plugin_init_all();
/* this is where we "unload" all the "plugins" */
-void archive_plugin_deinit_all(void);
+void
+archive_plugin_deinit_all();
#endif
diff --git a/src/archive/ArchivePlugin.hxx b/src/archive/ArchivePlugin.hxx
index 87b1a6ba0..eaf2c83c1 100644
--- a/src/archive/ArchivePlugin.hxx
+++ b/src/archive/ArchivePlugin.hxx
@@ -32,13 +32,13 @@ struct ArchivePlugin {
* have/need one this must false if there is an error and
* true otherwise
*/
- bool (*init)(void);
+ bool (*init)();
/**
* optional, set this to nullptr if the archive plugin doesn't
* have/need one
*/
- void (*finish)(void);
+ void (*finish)();
/**
* tryes to open archive file and associates handle with archive