From 21d2449f801c93a32b758a2242f15983ca9f4fe4 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 29 Jun 2019 08:26:33 +0200 Subject: [PATCH] unlink_replace_files: Change signature to avoid compiler warning. --- src/data/make-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/make-file.c b/src/data/make-file.c index 78875746f2..62dfb71d3d 100644 --- a/src/data/make-file.c +++ b/src/data/make-file.c @@ -190,7 +190,7 @@ struct replace_file static struct ll_list all_files = LL_INITIALIZER (all_files); static void free_replace_file (struct replace_file *); -static void unlink_replace_files (void); +static void unlink_replace_files (int sig); struct replace_file * replace_file_start (const struct file_handle *fh, const char *mode, @@ -370,7 +370,7 @@ free_replace_file (struct replace_file *rf) } static void -unlink_replace_files (void) +unlink_replace_files (int sig UNUSED) { struct replace_file *rf; -- 2.30.2