unlink_replace_files: Change signature to avoid compiler warning.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Jun 2019 06:26:33 +0000 (08:26 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Jun 2019 06:26:33 +0000 (08:26 +0200)
src/data/make-file.c

index 78875746f24ea2ff99860c5af75825da78e60fe4..62dfb71d3dcf366ddd37a515ab10a0dec54a48fa 100644 (file)
@@ -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;