From 5f31bbe1054fb070bd426eca3168ab4ba051b28f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 25 Jun 2015 14:22:31 +0200 Subject: libmisc: Simplify Drop the include since this file exposes a lot of implementation details. --- cpukit/libmisc/stackchk/check.c | 1 + cpukit/libmisc/stackchk/stackchk.h | 2 +- testsuites/libtests/stackchk/blow.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 27fe1aa3bc..dd64968e61 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -41,6 +41,7 @@ #include #include +#include #include "internal.h" /* diff --git a/cpukit/libmisc/stackchk/stackchk.h b/cpukit/libmisc/stackchk/stackchk.h index 823c8dfde0..b824057f59 100644 --- a/cpukit/libmisc/stackchk/stackchk.h +++ b/cpukit/libmisc/stackchk/stackchk.h @@ -24,7 +24,7 @@ #include /* bool */ -#include /* Thread_Control */ +#include /* Thread_Control */ #include /** diff --git a/testsuites/libtests/stackchk/blow.c b/testsuites/libtests/stackchk/blow.c index 6a378eb54b..e424568fb8 100644 --- a/testsuites/libtests/stackchk/blow.c +++ b/testsuites/libtests/stackchk/blow.c @@ -17,6 +17,7 @@ #include #include +#include /* forward declarations to avoid warnings */ void b(void); -- cgit v1.2.3