diff imgupd.c @ 34:222d013399cf

misc: remove deprecated noreturn
author David Demelier <markand@malikania.fr>
date Wed, 29 Jun 2022 20:45:10 +0200
parents b74c1f165e51
children 3e01d0147294
line wrap: on
line diff
--- a/imgupd.c	Thu Jun 23 14:47:22 2022 +0200
+++ b/imgupd.c	Wed Jun 29 20:45:10 2022 +0200
@@ -18,7 +18,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <stdnoreturn.h>
 #include <time.h>
 #include <unistd.h>
 
@@ -54,7 +53,7 @@
 	log_finish();
 }
 
-static noreturn void
+static void
 usage(void)
 {
 	fprintf(stderr, "usage: imgupd [-fqv] [-d database-path] [-t theme-directory]\n");