X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..8ab2aa9fd51a89e06d92a4f7c3792aaa4a08cc71:/lib/version.h?ds=inline diff --git a/lib/version.h b/lib/version.h index 0b0a004..51a32a0 100644 --- a/lib/version.h +++ b/lib/version.h @@ -15,10 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file lib/version.h + * @brief Display version string and exit + */ #ifndef VERSION_H #define VERSION_H -void version(const char *name); +void attribute((noreturn)) version(const char *name); #endif /* VERSION_H */