summaryrefslogtreecommitdiff
path: root/disasm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-03-07 19:23:03 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2017-03-07 19:31:04 -0800
commitb20bc733c93f9f4fd3ba44dd6af36dc3b578d041 (patch)
tree18f2112c446ae63e33c3e919da87006c64dc8cdc /disasm
parented40e2528d3d3d39fd72c32710933d30d2babca1 (diff)
downloadnasm-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.c1
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"