summaryrefslogtreecommitdiff
path: root/tables.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-10-13 12:28:14 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-10-13 12:29:01 -0700
commitf8563f7a987cd7b0d274d8895ece27fd475b319f (patch)
tree25aa0a5eff3ac35f8cf3439bdebed9461bc02974 /tables.h
parent970b1012ee4bf62b15a658775d2adaa81579ea7b (diff)
downloadnasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.tar.gz
nasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.tar.bz2
nasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.zip
opflags: more int32_t -> opflags_t conversions
Hopefully this should catch all of them... but please keep an eye out for any other uses of int32_t for the operand flags. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'tables.h')
-rw-r--r--tables.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/tables.h b/tables.h
index 284f046..e6f84cb 100644
--- a/tables.h
+++ b/tables.h
@@ -37,12 +37,13 @@
* Declarations for auto-generated tables
*/
-#ifndef TABLES_H
-#define TABLES_H
+#ifndef NASM_TABLES_H
+#define NASM_TABLES_H
#include "compiler.h"
#include <inttypes.h>
#include "insnsi.h" /* For enum opcode */
+#include "opflags.h" /* For opflags_t */
/* --- From standard.mac via macros.pl: --- */
@@ -61,8 +62,8 @@ extern const char * const nasm_insn_names[];
/* regs.c */
extern const char * const nasm_reg_names[];
/* regflags.c */
-extern const int32_t nasm_reg_flags[];
+extern const opflags_t nasm_reg_flags[];
/* regvals.c */
extern const int nasm_regvals[];
-#endif /* TABLES_H */
+#endif /* NASM_TABLES_H */