From 2e53f27e9dbe8c02b39696569297c86e7cad323c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 26 Dec 2018 06:32:37 -0800 Subject: Move inclusion to compiler.h There is absolutely no reason not to include globally, and with the inline function for mempcpy() we need it there anyway. Signed-off-by: H. Peter Anvin --- stdlib/strnlen.c | 1 - stdlib/strrchrnul.c | 1 - stdlib/vsnprintf.c | 1 - 3 files changed, 3 deletions(-) (limited to 'stdlib') 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 #ifndef HAVE_STRNLEN diff --git a/stdlib/strrchrnul.c b/stdlib/strrchrnul.c index d25148eb..2fc8eb62 100644 --- a/stdlib/strrchrnul.c +++ b/stdlib/strrchrnul.c @@ -32,7 +32,6 @@ * ----------------------------------------------------------------------- */ #include "compiler.h" -#include #ifndef HAVE_STRRCHRNUL diff --git a/stdlib/vsnprintf.c b/stdlib/vsnprintf.c index ea83921c..f3106d26 100644 --- a/stdlib/vsnprintf.c +++ b/stdlib/vsnprintf.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "nasmlib.h" #include "error.h" -- cgit v1.2.1