You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
274 B
17 lines
274 B
10 years ago
|
#include "gen_version.h"
|
||
9 years ago
|
#include "version.h"
|
||
10 years ago
|
#include <stdio.h>
|
||
|
|
||
8 years ago
|
const char *version(void)
|
||
|
{
|
||
|
return VERSION;
|
||
|
}
|
||
|
|
||
10 years ago
|
char *version_and_exit(const void *unused)
|
||
|
{
|
||
|
printf("%s\n"
|
||
|
"aka. %s\n"
|
||
|
"Built with: %s\n", VERSION, VERSION_NAME, BUILD_FEATURES);
|
||
|
exit(0);
|
||
|
}
|