~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]
/
libtests
/
test.c
diff --git
a/libtests/test.c
b/libtests/test.c
index
3270d47
..
86a6184
100644
(file)
--- a/
libtests/test.c
+++ b/
libtests/test.c
@@
-148,7
+148,7
@@
static const struct option options[] = {
};
/* display usage message and terminate */
-static void help(void) {
+static void
attribute((noreturn))
help(void) {
xprintf("Usage:\n"
" %s [OPTIONS]\n"
"Options:\n"