comparison imgupd-clean.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
comparison
equal deleted inserted replaced
33:c0d8af7ba325 34:222d013399cf
17 */ 17 */
18 18
19 #include <limits.h> 19 #include <limits.h>
20 #include <stdio.h> 20 #include <stdio.h>
21 #include <stdlib.h> 21 #include <stdlib.h>
22 #include <stdnoreturn.h>
23 #include <unistd.h> 22 #include <unistd.h>
24 23
25 #include "database.h" 24 #include "database.h"
26 #include "util.h" 25 #include "util.h"
27 26
28 static noreturn void 27 static void
29 usage(void) 28 usage(void)
30 { 29 {
31 fprintf(stderr, "usage: imgupd-clean [-d database-path]\n"); 30 fprintf(stderr, "usage: imgupd-clean [-d database-path]\n");
32 exit(1); 31 exit(1);
33 } 32 }