X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/2e9ba080dd30434f3e8f88e63029280889586a32..684115ed73351c1ce055e823686225f8f8f21b27:/server/choose.c diff --git a/server/choose.c b/server/choose.c index 405a95d..ab24e2d 100644 --- a/server/choose.c +++ b/server/choose.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2008 Richard Kettlewell + * Copyright (C) 2008, 2009, 2011 Richard Kettlewell * Copyright (C) 2008 Mark Wooding * * This program is free software: you can redistribute it and/or modify @@ -42,7 +42,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-choose [OPTIONS]\n" "Options:\n"