linux warnings
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@212 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
7b729f088f
commit
33f209690e
|
@ -1,11 +1,13 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
|
||||||
#include <Cache/BlockCache.h>
|
#include <Cache/BlockCache.h>
|
||||||
#include <Device/BlockDevice.h>
|
#include <Device/BlockDevice.h>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
protected:
|
protected:
|
||||||
BlockDevice();
|
BlockDevice();
|
||||||
|
|
||||||
friend BlockCache;
|
friend class BlockCache;
|
||||||
virtual BlockCache *createBlockCache();
|
virtual BlockCache *createBlockCache();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,4 +48,4 @@ protected:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue