2015-08-08 12:15:49 +01:00
|
|
|
#include "gen_version.h"
|
2016-01-21 20:08:08 +00:00
|
|
|
#include "version.h"
|
2015-08-08 12:15:49 +01:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-09-13 20:52:41 +01:00
|
|
|
const char *version(void)
|
|
|
|
{
|
|
|
|
return VERSION;
|
|
|
|
}
|
|
|
|
|
2018-02-21 15:06:07 +00:00
|
|
|
char *version_and_exit(const void *unused UNUSED)
|
2015-08-08 12:15:49 +01:00
|
|
|
{
|
|
|
|
printf("%s\n"
|
|
|
|
"aka. %s\n"
|
|
|
|
"Built with: %s\n", VERSION, VERSION_NAME, BUILD_FEATURES);
|
|
|
|
exit(0);
|
|
|
|
}
|