X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/2af0fbca5e21d6ffa9663ff96b8a8f5d13c262d2..16bf32dcea05c64ff2ab831569be9a91c979a1b6:/clients/disorder.c diff --git a/clients/disorder.c b/clients/disorder.c index b9b2bb2..8fdbc60 100644 --- a/clients/disorder.c +++ b/clients/disorder.c @@ -83,7 +83,7 @@ static const struct option options[] = { }; /* display usage message and terminate */ -static void help(void) { +static void attribute((noreturn)) help(void) { xprintf("Usage:\n" " disorder [OPTIONS] COMMAND ...\n" "Options:\n" @@ -498,7 +498,7 @@ static const struct option setup_guest_options[] = { { 0, 0, 0, 0 } }; -static void help_setup_guest(void) { +static void attribute((noreturn)) help_setup_guest(void) { xprintf("Usage:\n" " disorder setup-guest [OPTIONS]\n" "Options:\n" @@ -844,7 +844,7 @@ static const struct client_command { "Display the server version" }, }; -static void help_commands(void) { +static void attribute((noreturn)) help_commands(void) { unsigned n, max = 0, l; xprintf("Command summary:\n");