*: change C-style prototypes, drop "(void)"

This commit is contained in:
Max Kellermann
2015-03-03 20:05:08 +01:00
parent cd776ff1a8
commit 1c90b0c19d
28 changed files with 74 additions and 53 deletions

View File

@@ -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

View File

@@ -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