mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 01:25:41 +08:00
Make version data const
This commit is contained in:
parent
85f2819c8a
commit
b7913d8f4b
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "proxmark3.h"
|
#include "proxmark3.h"
|
||||||
/* This is the default version.c file that Makefile.common falls back to if perl is not available */
|
/* This is the default version.c file that Makefile.common falls back to if perl is not available */
|
||||||
struct version_information __attribute__((section(".version_information"))) version_information = {
|
const struct version_information __attribute__((section(".version_information"))) version_information = {
|
||||||
VERSION_INFORMATION_MAGIC,
|
VERSION_INFORMATION_MAGIC,
|
||||||
1, /* version version 1 */
|
1, /* version version 1 */
|
||||||
0, /* version information not present */
|
0, /* version information not present */
|
||||||
|
|
|
@ -61,7 +61,7 @@ my $ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @compilet
|
||||||
print <<EOF
|
print <<EOF
|
||||||
#include "proxmark3.h"
|
#include "proxmark3.h"
|
||||||
/* Generated file, do not edit */
|
/* Generated file, do not edit */
|
||||||
struct version_information __attribute__((section(".version_information"))) version_information = {
|
const struct version_information __attribute__((section(".version_information"))) version_information = {
|
||||||
VERSION_INFORMATION_MAGIC,
|
VERSION_INFORMATION_MAGIC,
|
||||||
1,
|
1,
|
||||||
$present,
|
$present,
|
||||||
|
|
Loading…
Reference in a new issue