diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2017-03-07 19:23:03 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2017-03-07 19:31:04 -0800 |
commit | b20bc733c93f9f4fd3ba44dd6af36dc3b578d041 (patch) | |
tree | 18f2112c446ae63e33c3e919da87006c64dc8cdc /disasm | |
parent | ed40e2528d3d3d39fd72c32710933d30d2babca1 (diff) | |
download | nasm-b20bc733c93f9f4fd3ba44dd6af36dc3b578d041.tar.gz |
asm/*: Move directive processing to its own file, refactor error handling
Move directive processing to its own file, and move nasmlib/error.c to
asm/error.c (it was not used by the disassembler); remove some extern
declarations from .c files, and do some general code cleanups.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'disasm')
-rw-r--r-- | disasm/ndisasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/disasm/ndisasm.c b/disasm/ndisasm.c index 328a02f0..a4a217db 100644 --- a/disasm/ndisasm.c +++ b/disasm/ndisasm.c @@ -47,6 +47,7 @@ #include "insns.h" #include "nasm.h" #include "nasmlib.h" +#include "error.h" #include "ver.h" #include "sync.h" #include "disasm.h" |