chiark / gitweb /
Mark `help' and `version' functions as not returning.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:16:18 +0000 (16:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:16:18 +0000 (16:16 +0100)
They don't; and later versions of GCC complain about potential `switch'
fall-through mistakes without this.

Fixing this is a simple matter of adding `attribute((noreturn))' in the
right places.  Note that `server/gstdecode.c' doesn't share the common
attribute-macro machinery.


No differences found