aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/opcode/ChangeLog2
-rw-r--r--include/opcode/cgen.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index e0edbf5..0756826 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,6 +1,6 @@
Tue Jul 21 13:12:13 1998 Doug Evans <devans@seba.cygnus.com>
- * cgen.h (cgen_version_{major,minor,fixlevel}): Declare.
+ * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Define.
(cgen_insert_fn,cgen_extract_fn): New arg `pc'.
(get_operand,put_operand): Replaced with get_{int,vma}_operand,
set_{int,vma}_operand.
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index 1c54956..e86037d 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef CGEN_H
#define CGEN_H
+/* Version information. */
+#define CGEN_VERSION_MAJOR 0
+#define CGEN_VERSION_MINOR 6
+#define CGEN_VERSION_FIXLEVEL 0
+
/* Prepend the arch name, defined in <arch>-opc.h, and _cgen_ to symbol S.
The lack of spaces in the arg list is important for non-stdc systems.
This file is included by <arch>-opc.h.
@@ -67,11 +72,6 @@ enum cgen_endian
CGEN_ENDIAN_BIG
};
-/* Version information. */
-extern const int cgen_version_major;
-extern const int cgen_version_minor;
-extern const int cgen_version_fixlevel;
-
/* Forward decl. */
typedef struct cgen_insn CGEN_INSN;