Use noreturn for usage_exit

This commit is contained in:
Rangi 2022-03-15 17:35:35 -04:00
parent 1ba73f225c
commit 9aac39bebc

View File

@ -21,7 +21,7 @@
#define error_exit(...) exit((fprintf(stderr, PROGRAM_NAME ": " __VA_ARGS__), 1))
void usage_exit(int status) {
noreturn void usage_exit(int status) {
fprintf(stderr, "Usage: " PROGRAM_NAME " " USAGE_OPTS "\n");
exit(status);
}