summaryrefslogtreecommitdiff
path: root/include/ver.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-24 16:33:18 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-24 16:59:32 +0300
commitf6b1720a2d11af83c659e41d988f472f041b0088 (patch)
tree5a62299b17189d96a810bd823af964d7952745dd /include/ver.h
parent8c0666b0e6896c79ae2e4d2390962c951a1bea83 (diff)
downloadnasm-f6b1720a2d11af83c659e41d988f472f041b0088.tar.gz
version: Make them dynamic for regression tests sake
When we are running regression tests we compare binary forms and the strings better to be the constants to not trigger false positives. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'include/ver.h')
-rw-r--r--include/ver.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/ver.h b/include/ver.h
index 62d9c52d..dfc4c6ad 100644
--- a/include/ver.h
+++ b/include/ver.h
@@ -41,7 +41,13 @@
extern const char nasm_version[];
extern const char nasm_date[];
extern const char nasm_compile_options[];
-extern const char nasm_comment[];
-extern const char nasm_signature[];
+
+extern const char *nasm_comment(void);
+extern size_t nasm_comment_len(void);
+
+extern const char *nasm_signature(void);
+extern size_t nasm_signature_len(void);
+
+extern int nasm_test_run(void);
#endif /* NASM_VER_H */