summaryrefslogtreecommitdiff
path: root/nasmlib/file.h
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 /nasmlib/file.h
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 'nasmlib/file.h')
-rw-r--r--nasmlib/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasmlib/file.h b/nasmlib/file.h
index 85957938..774dadf4 100644
--- a/nasmlib/file.h
+++ b/nasmlib/file.h
@@ -36,6 +36,7 @@
#include "compiler.h"
#include "nasmlib.h"
+#include "error.h"
#include <errno.h>