From ff57204d6dd32a87999cf467eb327db2f6245b1c Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich <slyfox@gentoo.org> Date: Thu, 20 Feb 2014 03:17:27 -0600 Subject: [PATCH] RetainerProfile.c: include missing header (#8810) Found by clang: rts_dist_HC rts/dist/build/RetainerProfile.p_o rts/RetainerProfile.c:1779:5: error: implicit declaration of function 'markStableTables' is invalid in C99 [-Werror,-Wimplicit-function-declaration] markStableTables(retainRoot, NULL); Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Austin Seipp <austin@well-typed.com> (cherry picked from commit 925b0a499dba8a891af06f1bd3f5caf063682b0b) --- rts/RetainerProfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c index 8cf88487f2c6..973e03bd1aeb 100644 --- a/rts/RetainerProfile.c +++ b/rts/RetainerProfile.c @@ -30,6 +30,7 @@ #include "Stats.h" #include "ProfHeap.h" #include "Apply.h" +#include "Stable.h" /* markStableTables */ #include "sm/Storage.h" // for END_OF_STATIC_LIST /* -- GitLab