diff --git a/zathura/plugin.c b/zathura/plugin.c index cb51a21..14fdbae 100644 --- a/zathura/plugin.c +++ b/zathura/plugin.c @@ -52,7 +52,7 @@ static void zathura_plugin_free(zathura_plugin_t* plugin); static void zathura_type_plugin_mapping_free(zathura_type_plugin_mapping_t* mapping); zathura_plugin_manager_t* -zathura_plugin_manager_new() +zathura_plugin_manager_new(void) { zathura_plugin_manager_t* plugin_manager = g_try_malloc0(sizeof(zathura_plugin_manager_t)); if (plugin_manager == NULL) { diff --git a/zathura/plugin.h b/zathura/plugin.h index 9512a0a..799159f 100644 --- a/zathura/plugin.h +++ b/zathura/plugin.h @@ -29,7 +29,7 @@ typedef struct zathura_plugin_version_s { * * @return A plugin manager object or NULL if an error occured */ -zathura_plugin_manager_t* zathura_plugin_manager_new(); +zathura_plugin_manager_t* zathura_plugin_manager_new(void); /** * Frees the plugin manager