summaryrefslogtreecommitdiff
path: root/src/signals.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/signals.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/signals.c')
-rw-r--r--src/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signals.c b/src/signals.c
index a64f935..409b4ba 100644
--- a/src/signals.c
+++ b/src/signals.c
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
void feh_handle_signal(int);
volatile int sig_exit = 0;
-void setup_signal_handlers()
+void setup_signal_handlers(void)
{
struct sigaction feh_sh;
sigset_t feh_ss;