summaryrefslogtreecommitdiff
path: root/include
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 /include
parentc2f3f2601593823c1844a5b35b98ccb445ddde66 (diff)
downloadnasm-8960e1bc83658b3bf27fec028ec08136eec45382.tar.gz
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 'include')
-rw-r--r--include/hashtbl.h1
-rw-r--r--include/ilog2.h1
-rw-r--r--include/nasm.h1
-rw-r--r--include/nasmlib.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/include/hashtbl.h b/include/hashtbl.h
index 239f6104..4c6cd5e3 100644
--- a/include/hashtbl.h
+++ b/include/hashtbl.h
@@ -40,7 +40,6 @@
#ifndef NASM_HASHTBL_H
#define NASM_HASHTBL_H
-#include <stddef.h>
#include "nasmlib.h"
struct hash_node {
diff --git a/include/ilog2.h b/include/ilog2.h
index 3a828be8..bba45955 100644
--- a/include/ilog2.h
+++ b/include/ilog2.h
@@ -35,7 +35,6 @@
#define ILOG2_H
#include "compiler.h"
-#include <limits.h>
#ifdef ILOG2_C /* For generating the out-of-line functions */
# undef extern_inline
diff --git a/include/nasm.h b/include/nasm.h
index c2a80562..6ff37aec 100644
--- a/include/nasm.h
+++ b/include/nasm.h
@@ -40,7 +40,6 @@
#include "compiler.h"
-#include <stdio.h>
#include <time.h>
#include "nasmlib.h"
diff --git a/include/nasmlib.h b/include/nasmlib.h
index e342a293..fb14c73b 100644
--- a/include/nasmlib.h
+++ b/include/nasmlib.h
@@ -41,7 +41,6 @@
#include "compiler.h"
#include "bytesex.h"
-#include <stdio.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif