aboutsummaryrefslogtreecommitdiffstats
path: root/stdlib
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 /stdlib
parented40e2528d3d3d39fd72c32710933d30d2babca1 (diff)
downloadnasm-b20bc733c93f9f4fd3ba44dd6af36dc3b578d041.tar.gz
nasm-b20bc733c93f9f4fd3ba44dd6af36dc3b578d041.tar.xz
nasm-b20bc733c93f9f4fd3ba44dd6af36dc3b578d041.zip
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 'stdlib')
-rw-r--r--stdlib/vsnprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/vsnprintf.c b/stdlib/vsnprintf.c
index b8fd082a..5a600fc7 100644
--- a/stdlib/vsnprintf.c
+++ b/stdlib/vsnprintf.c
@@ -13,6 +13,7 @@
#include <string.h>
#include "nasmlib.h"
+#include "error.h"
#if !defined(HAVE_VSNPRINTF) && !defined(HAVE__VSNPRINTF)