initial commit

This commit is contained in:
2020-02-24 00:28:13 +01:00
commit 89d561e5b7
10 changed files with 375 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
const char* git_sha1 = "@@GIT_SHA1@@";
+4
View File
@@ -0,0 +1,4 @@
extern const char *git_sha1;
+8
View File
@@ -0,0 +1,8 @@
#include <stdio.h>
#include "version.h"
void print_version(void)
{
printf("version: %s\n", git_sha1);
}
+3
View File
@@ -0,0 +1,3 @@
void print_version(void);