X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..b59c46fd2f2c5d094ad9d7b72fec772b99356419:/lib/version.h 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 */