summaryrefslogtreecommitdiff
path: root/stdlib/strnlen.c
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 /stdlib/strnlen.c
parent0a2b1c34988e28c33d5d0a1b12ccdb19dc320793 (diff)
downloadnasm-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 'stdlib/strnlen.c')
-rw-r--r--stdlib/strnlen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stdlib/strnlen.c b/stdlib/strnlen.c
index 40eacf54..193245ed 100644
--- a/stdlib/strnlen.c
+++ b/stdlib/strnlen.c
@@ -32,7 +32,6 @@
* ----------------------------------------------------------------------- */
#include "compiler.h"
-#include <string.h>
#ifndef HAVE_STRNLEN