summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-10-16 09:04:55 -0700
committerDaniel Friesel <derf@chaosdorf.de>2023-01-22 08:57:01 +0100
commitafca52d96eb43e6ceec4e6976b1f90c367df27c9 (patch)
tree64ee5dd8c731b4c031ce29a1b638a2767e509718 /src/thumbnail.c
parentd65f3ba146fa7a6ccad2f3c1233becfda1c22b69 (diff)
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
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index e4a5f60..d97b14e 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -593,7 +593,7 @@ int feh_thumbnail_get_thumbnail(Imlib_Image * image, feh_file * file,
return status;
}
-static char *feh_thumbnail_get_prefix()
+static char *feh_thumbnail_get_prefix(void)
{
char *dir = NULL, *home, *xdg_cache_home;
@@ -882,13 +882,13 @@ void feh_thumbnail_select_prev(winwidget winwid, int jump)
}
}
-void feh_thumbnail_show_selected()
+void feh_thumbnail_show_selected(void)
{
if (td.selected && td.selected->file)
feh_thumbnail_show_fullsize(td.selected->file);
}
-feh_file* feh_thumbnail_get_selected_file()
+feh_file* feh_thumbnail_get_selected_file(void)
{
if (td.selected)
return td.selected->file;