X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/2d0a6606ee8899dfe372bbdc760fd15c14f3fceb..53a4a6fdcc52280765216ff019cf77b85ec48c18:/server/dbupgrade.c diff --git a/server/dbupgrade.c b/server/dbupgrade.c index 18e6aa1..220fb76 100644 --- a/server/dbupgrade.c +++ b/server/dbupgrade.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2007, 2008 Richard Kettlewell + * Copyright (C) 2007-2009 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,7 +48,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-dbupgrade [OPTIONS]\n" "Options:\n"