From 1c90b0c19dff120fb4fd8acf413ddbdf16addf28 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Mar 2015 20:05:08 +0100 Subject: *: change C-style prototypes, drop "(void)" --- src/archive/ArchiveList.hxx | 6 ++++-- src/archive/ArchivePlugin.hxx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/archive') 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 -- cgit v1.2.3