commit db12cf5f4b7e322a38865c50f5229015483cc692
parent 8ba8533be86f6008594d1f7835b54a73ddd63e6b
Author: Michael Rasmussen <mir@datanom.net>
Date: Mon, 19 Feb 2024 19:09:47 +0100
Fix bug #4782 use correct prototype for stop_archiving. Patches by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/archive/archiver.h b/src/plugins/archive/archiver.h
@@ -55,6 +55,6 @@ void archiver_gtk_show(void);
void archiver_gtk_done(struct ArchivePage* page, GtkWidget* widget);
void set_progress_file_label(const gchar* file);
void set_progress_print_all(guint fraction, guint total, guint step);
-void stop_archiving();
+void stop_archiving(void);
#endif
diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c
@@ -244,7 +244,7 @@ static void archive_free_file_info(struct file_info* file) {
file = NULL;
}
-void stop_archiving() {
+void stop_archiving(void) {
debug_print("stop action set to true\n");
stop_action = TRUE;
}