initial commit

This commit is contained in:
2020-02-23 15:53:52 +01:00
commit 89d561e5b7
10 changed files with 375 additions and 0 deletions

3
src/version/version.c.in Normal file
View File

@ -0,0 +1,3 @@
const char* git_sha1 = "@@GIT_SHA1@@";

4
src/version/version.h Normal file
View File

@ -0,0 +1,4 @@
extern const char *git_sha1;

View File

@ -0,0 +1,8 @@
#include <stdio.h>
#include "version.h"
void print_version(void)
{
printf("version: %s\n", git_sha1);
}

View File

@ -0,0 +1,3 @@
void print_version(void);