aboutsummaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-12-27 12:43:28 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-12-27 12:45:44 -0800
commit8960e1bc83658b3bf27fec028ec08136eec45382 (patch)
treeb9edf4a5f77308c3dfe2c2ce77e9e2e8c2e306e1 /stdlib
parentc2f3f2601593823c1844a5b35b98ccb445ddde66 (diff)
downloadnasm-8960e1bc83658b3bf27fec028ec08136eec45382.tar.gz
nasm-8960e1bc83658b3bf27fec028ec08136eec45382.tar.xz
nasm-8960e1bc83658b3bf27fec028ec08136eec45382.zip
Remove #includes already provided by "compiler.h"
"compiler.h" already includes a bunch of common include files. There is absolutely no reason to duplicate them in individual files, and in fact it robs us of central control of how these files are used. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/snprintf.c3
-rw-r--r--stdlib/vsnprintf.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/stdlib/snprintf.c b/stdlib/snprintf.c
index 95bfc314..e4a1c0b5 100644
--- a/stdlib/snprintf.c
+++ b/stdlib/snprintf.c
@@ -6,9 +6,6 @@
#include "compiler.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
#include "nasmlib.h"
diff --git a/stdlib/vsnprintf.c b/stdlib/vsnprintf.c
index f3106d26..284cc194 100644
--- a/stdlib/vsnprintf.c
+++ b/stdlib/vsnprintf.c
@@ -7,9 +7,6 @@
#include "compiler.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
#include "nasmlib.h"
#include "error.h"