From fe477c6fbf4c1faca9f57590427329db9151e987 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Fri, 17 Jan 2025 12:45:13 +0100 Subject: [PATCH] Unprototyped functions are no longer permitted --- detect-renamed.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect-renamed.diff b/detect-renamed.diff index af22b1d..9134e70 100644 --- a/detect-renamed.diff +++ b/detect-renamed.diff @@ -206,7 +206,7 @@ diff --git a/flist.c b/flist.c + memcpy(the_fattr_list.files, flist->files, + j * sizeof (struct file_struct *)); + qsort(the_fattr_list.files, j, -+ sizeof the_fattr_list.files[0], (int (*)())fattr_compare); ++ sizeof the_fattr_list.files[0], (int (*)(const void *, const void *))fattr_compare); + the_fattr_list.low = 0; + while (j-- > 0) { + struct file_struct *fp = the_fattr_list.files[j];