From 68ed2854284d415a71efd856a40343f550881ede Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Jan 2021 03:56:10 -0500 Subject: sim: clean up C11 header includes Since we require C11 now, we can assume many headers exist, and clean up all of the conditional includes. It's not like any of this code actually accounted for the headers not existing, just whether we could include them. The strings.h cleanup is a little nuanced: it isn't in C11, but every use of it in the codebase will include strings.h only if string.h doesn't exist. Since we now assume the C11 string.h exists, we'll never include strings.h, so we can delete it. --- sim/ppc/hw_shm.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sim/ppc/hw_shm.c') diff --git a/sim/ppc/hw_shm.c b/sim/ppc/hw_shm.c index 3128871483..f2fa144244 100644 --- a/sim/ppc/hw_shm.c +++ b/sim/ppc/hw_shm.c @@ -23,14 +23,7 @@ #include "device_table.h" -#ifdef HAVE_STRING_H #include -#else -#ifdef HAVE_STRINGS_H -#include -#endif -#endif - #include #include -- cgit v1.2.3