aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-12-26 06:32:37 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-12-26 06:32:37 -0800
commit2e53f27e9dbe8c02b39696569297c86e7cad323c (patch)
tree43bdcd21f57fde5fd3d2fac718cb124abe8a872d /rdoff
parent0a2b1c34988e28c33d5d0a1b12ccdb19dc320793 (diff)
downloadnasm-2e53f27e9dbe8c02b39696569297c86e7cad323c.tar.gz
nasm-2e53f27e9dbe8c02b39696569297c86e7cad323c.tar.xz
nasm-2e53f27e9dbe8c02b39696569297c86e7cad323c.zip
Move <string.h> inclusion to compiler.h
There is absolutely no reason not to include <string.h> globally, and with the inline function for mempcpy() we need it there anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/ldrdf.c1
-rw-r--r--rdoff/rdf2bin.c1
-rw-r--r--rdoff/rdfdump.c1
-rw-r--r--rdoff/rdflib.c1
-rw-r--r--rdoff/rdfload.c1
-rw-r--r--rdoff/rdlar.c1
-rw-r--r--rdoff/rdlib.c1
-rw-r--r--rdoff/rdoff.c1
-rw-r--r--rdoff/symtab.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/rdoff/ldrdf.c b/rdoff/ldrdf.c
index 49729b4f..a78c4504 100644
--- a/rdoff/ldrdf.c
+++ b/rdoff/ldrdf.c
@@ -54,7 +54,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "rdfutils.h"
#include "symtab.h"
diff --git a/rdoff/rdf2bin.c b/rdoff/rdf2bin.c
index 1beb8245..2c58e606 100644
--- a/rdoff/rdf2bin.c
+++ b/rdoff/rdf2bin.c
@@ -39,7 +39,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include <string.h>
#include <ctype.h>
#include <errno.h>
diff --git a/rdoff/rdfdump.c b/rdoff/rdfdump.c
index b483477b..1d57d6d7 100644
--- a/rdoff/rdfdump.c
+++ b/rdoff/rdfdump.c
@@ -39,7 +39,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "rdfutils.h"
diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c
index 8dbff4af..d363b3e5 100644
--- a/rdoff/rdflib.c
+++ b/rdoff/rdflib.c
@@ -62,7 +62,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
-#include <string.h>
#include <time.h>
/* functions supported:
diff --git a/rdoff/rdfload.c b/rdoff/rdfload.c
index 6977a707..1c24f2fc 100644
--- a/rdoff/rdfload.c
+++ b/rdoff/rdfload.c
@@ -46,7 +46,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "rdfload.h"
#include "symtab.h"
diff --git a/rdoff/rdlar.c b/rdoff/rdlar.c
index 419d2d0d..0922d9ec 100644
--- a/rdoff/rdlar.c
+++ b/rdoff/rdlar.c
@@ -41,7 +41,6 @@
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
-#include <string.h>
#include <errno.h>
#include <time.h>
#include <sys/types.h>
diff --git a/rdoff/rdlib.c b/rdoff/rdlib.c
index d8f2fc7a..320a1664 100644
--- a/rdoff/rdlib.c
+++ b/rdoff/rdlib.c
@@ -39,7 +39,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "rdfutils.h"
#include "rdlib.h"
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index e77c88ef..3fd2a0e9 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -44,7 +44,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <errno.h>
#include "rdfutils.h"
diff --git a/rdoff/symtab.c b/rdoff/symtab.c
index 270fb89c..d9e9a3b7 100644
--- a/rdoff/symtab.c
+++ b/rdoff/symtab.c
@@ -41,7 +41,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "symtab.h"
#include "hash.h"