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 /disasm | |
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 'disasm')
-rw-r--r-- | disasm/disasm.c | 1 | ||||
-rw-r--r-- | disasm/ndisasm.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/disasm/disasm.c b/disasm/disasm.c index fd3eb42a..7928827a 100644 --- a/disasm/disasm.c +++ b/disasm/disasm.c @@ -38,7 +38,6 @@ #include "compiler.h" #include <stdio.h> -#include <string.h> #include <limits.h> #include "nasm.h" diff --git a/disasm/ndisasm.c b/disasm/ndisasm.c index 0863309f..4497c388 100644 --- a/disasm/ndisasm.c +++ b/disasm/ndisasm.c @@ -40,7 +40,6 @@ #include <stdio.h> #include <stdarg.h> #include <stdlib.h> -#include <string.h> #include <ctype.h> #include <errno.h> |