linux warnings

git-svn-id: https://profuse.googlecode.com/svn/branches/v2@212 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
ksherlock 2010-04-01 14:38:39 +00:00
parent 7b729f088f
commit 33f209690e
3 changed files with 5 additions and 2 deletions

View File

@ -1,11 +1,13 @@
#include <algorithm>
#include <cerrno>
#include <cstring>
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
#include <Cache/BlockCache.h>
#include <Device/BlockDevice.h>

View File

@ -1,6 +1,7 @@
#include <algorithm>
#include <cerrno>
#include <cstring>
#include <sys/types.h>
#include <sys/mman.h>

View File

@ -40,7 +40,7 @@ public:
protected:
BlockDevice();
friend BlockCache;
friend class BlockCache;
virtual BlockCache *createBlockCache();
};
@ -48,4 +48,4 @@ protected:
}
#endif
#endif