From 0173e6eb83dd120cf6d5063ef4fb5eef5c7eef4c Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 14 Aug 2013 16:16:44 -0700 Subject: btrfs-progs: give raid6.c its exported prototypes raid6.c is built without access to the prototypes of functions it exports. warning: symbol 'raid6_gen_syndrome' was not declared. Should it be static? They could be changed and get out of sync of the exported prototypes without errors. So we add disk-io.h, and its dependency ctree.h, so that it has a chance to check that its exported prototypes are correct. Signed-off-by: Zach Brown Signed-off-by: David Sterba Signed-off-by: Chris Mason --- raid6.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'raid6.c') diff --git a/raid6.c b/raid6.c index ce0f6557..a6ee483f 100644 --- a/raid6.c +++ b/raid6.c @@ -20,6 +20,8 @@ #include #include #include "kerncompat.h" +#include "ctree.h" +#include "disk-io.h" /* * This is the C data type to use -- cgit v1.2.3