summaryrefslogtreecommitdiffstats
path: root/src/core/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/version.c')
-rw-r--r--src/core/version.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/version.c b/src/core/version.c
index 22f444065..75f3160db 100644
--- a/src/core/version.c
+++ b/src/core/version.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** @file
*
@@ -49,16 +50,16 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FEATURE_VERSION ( VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH );
/** Build timestamp (generated by linker) */
-extern char _build_timestamp[];
+extern unsigned long ABS_SYMBOL ( _build_timestamp );
/** Build ID (generated by linker) */
-extern char _build_id[];
+extern unsigned long ABS_SYMBOL ( _build_id );
/** Build timestamp */
-unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp );
+unsigned long build_timestamp = ABS_VALUE_INIT ( _build_timestamp );
/** Build ID */
-unsigned long build_id = ( ( unsigned long ) _build_id );
+unsigned long build_id = ABS_VALUE_INIT ( _build_id );
/** Product major version */
const int product_major_version = VERSION_MAJOR;