*: change C-style prototypes, drop "(void)"
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user