From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <gusnan@debian.org>
Date: Mon, 29 Jul 2024 14:55:22 +0200
Subject: Use const struct direct in file_select

---
 list.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/list.c b/list.c
index 65359cd..109b0d1 100644
--- a/list.c
+++ b/list.c
@@ -8,7 +8,7 @@
 
 
 /* local prototypes */
-int file_select (struct direct *entry);
+int file_select (const struct direct *entry);
 
 GSList *
 lmem_dir_list (GSList * file_list, gchar * directory_name)
@@ -56,7 +56,7 @@ lmem_dir_list (GSList * file_list, gchar * directory_name)
 }
 
 int
-file_select (struct direct *entry)
+file_select (const struct direct *entry)
 {				/* ignore . and .. entries */
   if ((strcmp (entry->d_name, ".") == 0) ||
       (strcmp (entry->d_name, "..") == 0))
