chiark / gitweb /
Mark `help' and `version' functions as not returning.
[disorder] / clients / rtpmon.c
index 32974e896c0e45a6680142230651c84b388e845f..21e451f6373478c59397ccd9eafaa181fc2d2148 100644 (file)
@@ -77,7 +77,7 @@ static const struct option options[] = {
   { 0, 0, 0, 0 }
 };
 
-static void help(void) {
+static void attribute((noreturn)) help(void) {
   xprintf("Usage:\n"
          "  rtpmon [OPTIONS] [ADDRESS] PORT\n"
          "Options:\n"