mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-09-21 15:26:35 +08:00
Trying automagic version stuff
This commit is contained in:
parent
8e19377db1
commit
42bc3be31c
10
common/version.c
Normal file
10
common/version.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
#define VERSION "$Id $"
|
||||
static const struct __attribute__((packed)) {
|
||||
const char string[48];
|
||||
unsigned int length;
|
||||
unsigned int magic;
|
||||
} version __attribute__((unused,section("versioninformation"))) = {
|
||||
VERSION,
|
||||
sizeof(VERSION),
|
||||
0x48151623,
|
||||
};
|
Loading…
Reference in a new issue