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]
/
clients
/
disorderfm.c
diff --git
a/clients/disorderfm.c
b/clients/disorderfm.c
index 14092dad74b1c9aa90d0586a6f237145d4ddb0d1..55aff3e4ba27ef9106f73e447f4deba46410f67e 100644
(file)
--- a/
clients/disorderfm.c
+++ b/
clients/disorderfm.c
@@
-102,7
+102,7
@@
static const struct option options[] = {
};
/* display usage message and terminate */
-static void help(void) {
+static void
attribute((noreturn))
help(void) {
xprintf("Usage:\n"
" disorderfm [OPTIONS] SOURCE DESTINATION\n"
"Options:\n"