summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-31 16:53:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-31 16:53:49 -0700
commit4b9358928b114caaf34a69d6fdfd3b285b7a72cc (patch)
treeb531697231b1ac88943dd32c4fa434c746a40f66 /nasm.h
parentdcd3a21145ef08583c1e242594777bf1625bf989 (diff)
downloadnasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.tar.gz
nasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.tar.bz2
nasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.zip
Move all version strings to a single compilation unit (ver.c)
Move all the version strings to a single compilation unit, ver.c; this does not include the version macros, which are fed into macros.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/nasm.h b/nasm.h
index d97e5f1..814019c 100644
--- a/nasm.h
+++ b/nasm.h
@@ -15,7 +15,6 @@
#include <stdio.h>
#include <inttypes.h>
-#include "version.h" /* generated NASM version macros */
#include "nasmlib.h"
#include "preproc.h"
#include "insnsi.h" /* For enum opcode */
@@ -1032,4 +1031,13 @@ extern int globalbits; /* 16, 32 or 64-bit mode */
extern int globalrel; /* default to relative addressing? */
extern int maxbits; /* max bits supported by output */
+/*
+ * NASM version strings, defined in ver.c
+ */
+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[];
+
#endif