summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-12 16:34:06 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-12 16:34:06 +0000
commit24cfef4f8f7ee01f841e86972001b06acae243ea (patch)
treea3489ab0d04671bb27847c9be3fad246d6bb2e85 /nasm.h
parent628168c50264147e1b8b200833f25a4e166f5cd8 (diff)
downloadnasm-24cfef4f8f7ee01f841e86972001b06acae243ea.tar.gz
nasm-24cfef4f8f7ee01f841e86972001b06acae243ea.tar.bz2
nasm-24cfef4f8f7ee01f841e86972001b06acae243ea.zip
Clean up unnecessary dependencies.
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/nasm.h b/nasm.h
index 4db1c29..8f4f293 100644
--- a/nasm.h
+++ b/nasm.h
@@ -11,6 +11,7 @@
#ifndef NASM_NASM_H
#define NASM_NASM_H
+#include <stdio.h>
#include "version.h" /* generated NASM version macros */
#ifndef NULL
@@ -432,16 +433,6 @@ enum {
/* Register names automatically generated from regs.dat */
#include "regs.h"
-/* Instruction names automatically generated from insns.dat */
-#include "insnsi.h"
-
-/* max length of any instruction, register name etc. */
-#if MAX_INSLEN > 9
-#define MAX_KEYWORD MAX_INSLEN
-#else
-#define MAX_KEYWORD 9
-#endif
-
enum { /* condition code names */
C_A, C_AE, C_B, C_BE, C_C, C_E, C_G, C_GE, C_L, C_LE, C_NA, C_NAE,
C_NB, C_NBE, C_NC, C_NE, C_NG, C_NGE, C_NL, C_NLE, C_NO, C_NP,