From 33f209690ebe1d76fa59d4d063e08f084bbabf34 Mon Sep 17 00:00:00 2001 From: ksherlock Date: Thu, 1 Apr 2010 14:38:39 +0000 Subject: [PATCH] linux warnings git-svn-id: https://profuse.googlecode.com/svn/branches/v2@212 aa027e90-d47c-11dd-86d7-074df07e0730 --- Cache/BlockCache.cpp | 2 ++ Cache/ConcreteBlockCache.cpp | 1 + Device/BlockDevice.h | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cache/BlockCache.cpp b/Cache/BlockCache.cpp index 0467fa1..e450797 100644 --- a/Cache/BlockCache.cpp +++ b/Cache/BlockCache.cpp @@ -1,11 +1,13 @@ #include #include +#include #include #include #include + #include #include diff --git a/Cache/ConcreteBlockCache.cpp b/Cache/ConcreteBlockCache.cpp index eb6474b..cc24971 100644 --- a/Cache/ConcreteBlockCache.cpp +++ b/Cache/ConcreteBlockCache.cpp @@ -1,6 +1,7 @@ #include #include +#include #include #include diff --git a/Device/BlockDevice.h b/Device/BlockDevice.h index 17f6369..592bea2 100644 --- a/Device/BlockDevice.h +++ b/Device/BlockDevice.h @@ -40,7 +40,7 @@ public: protected: BlockDevice(); - friend BlockCache; + friend class BlockCache; virtual BlockCache *createBlockCache(); }; @@ -48,4 +48,4 @@ protected: } -#endif \ No newline at end of file +#endif