From afca52d96eb43e6ceec4e6976b1f90c367df27c9 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 16 Oct 2022 09:04:55 -0700 Subject: src: Fix build with clang 16 These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 --- src/filelist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filelist.h') diff --git a/src/filelist.h b/src/filelist.h index ff0645e..7f263dc 100644 --- a/src/filelist.h +++ b/src/filelist.h @@ -96,7 +96,7 @@ int feh_write_filelist(gib_list * list, char *filename); gib_list *feh_read_filelist(char *filename); char *feh_absolute_path(char *path); gib_list *feh_file_remove_from_list(gib_list * list, gib_list * l); -void feh_save_filelist(); +void feh_save_filelist(void); char *feh_http_unescape(char * url); int feh_cmp_name(void *file1, void *file2); -- cgit v1.2.3