diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-12-26 06:32:37 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-12-26 06:32:37 -0800 |
commit | 2e53f27e9dbe8c02b39696569297c86e7cad323c (patch) | |
tree | 43bdcd21f57fde5fd3d2fac718cb124abe8a872d /nasmlib | |
parent | 0a2b1c34988e28c33d5d0a1b12ccdb19dc320793 (diff) | |
download | nasm-2e53f27e9dbe8c02b39696569297c86e7cad323c.tar.gz |
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 'nasmlib')
-rw-r--r-- | nasmlib/bsi.c | 1 | ||||
-rw-r--r-- | nasmlib/hashtbl.c | 1 | ||||
-rw-r--r-- | nasmlib/md5c.c | 1 | ||||
-rw-r--r-- | nasmlib/ver.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/nasmlib/bsi.c b/nasmlib/bsi.c index a811e45e..ae31f482 100644 --- a/nasmlib/bsi.c +++ b/nasmlib/bsi.c @@ -37,7 +37,6 @@ #include "compiler.h" -#include <string.h> #include "nasmlib.h" diff --git a/nasmlib/hashtbl.c b/nasmlib/hashtbl.c index b89b0200..3f4a957c 100644 --- a/nasmlib/hashtbl.c +++ b/nasmlib/hashtbl.c @@ -39,7 +39,6 @@ #include "compiler.h" -#include <string.h> #include "nasm.h" #include "hashtbl.h" diff --git a/nasmlib/md5c.c b/nasmlib/md5c.c index 9b061361..79cf4e09 100644 --- a/nasmlib/md5c.c +++ b/nasmlib/md5c.c @@ -16,7 +16,6 @@ */ #include "md5.h" -#include <string.h> /* for memcpy() */ #ifdef WORDS_LITTLEENDIAN #define byteReverse(buf, len) /* Nothing */ diff --git a/nasmlib/ver.c b/nasmlib/ver.c index b1638b7d..d05fc2d1 100644 --- a/nasmlib/ver.c +++ b/nasmlib/ver.c @@ -32,7 +32,6 @@ * ----------------------------------------------------------------------- */ #include <stdlib.h> -#include <string.h> #include "ver.h" #include "version.h" |