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 /misc | |
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 'misc')
-rw-r--r-- | misc/omfdump.c | 1 | ||||
-rw-r--r-- | misc/xcrcgen.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/misc/omfdump.c b/misc/omfdump.c index b990b68e..b27e7c90 100644 --- a/misc/omfdump.c +++ b/misc/omfdump.c @@ -14,7 +14,6 @@ #include <fcntl.h> #include <unistd.h> #include <stdbool.h> -#include <string.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/misc/xcrcgen.c b/misc/xcrcgen.c index acfd48e0..01984800 100644 --- a/misc/xcrcgen.c +++ b/misc/xcrcgen.c @@ -8,7 +8,6 @@ #include <inttypes.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <unistd.h> static uint8_t get_random_byte(void) |