chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark `help' and `version' functions as not returning.
[disorder]
/
server
/
dbupgrade.c
diff --git
a/server/dbupgrade.c
b/server/dbupgrade.c
index e44b7f505b8089717d9e509babe5d6192cf06521..220fb767d51cef374ee75a092699ea23eaaeb83a 100644
(file)
--- a/
server/dbupgrade.c
+++ b/
server/dbupgrade.c
@@
-48,7
+48,7
@@
static const struct option options[] = {
};
/* display usage message and terminate */
};
/* display usage message and terminate */
-static void help(void) {
+static void
attribute((noreturn))
help(void) {
xprintf("Usage:\n"
" disorder-dbupgrade [OPTIONS]\n"
"Options:\n"
xprintf("Usage:\n"
" disorder-dbupgrade [OPTIONS]\n"
"Options:\n"