gcc4 build fixes.

This commit is contained in:
François Revol
2012-03-26 23:22:49 +02:00
parent 647cff2e59
commit a59d56fa36
6 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ StdBinCommands
bfswhich.cpp
recover.cpp
: libbfs_tools.a be : $(haiku-utils_rsrc
: libbfs_tools.a be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc)
;
SubInclude HAIKU_TOP src bin bfs_tools lib ;
+3 -1
View File
@@ -7,6 +7,8 @@
#include <List.h>
#include <string.h>
#include "Cache.h"
#include "bfs.h"
@@ -158,7 +160,7 @@ class BPlusTree {
bool CheckNode(bplustree_node *node);
private:
friend NodeCache;
friend class NodeCache;
bplustree_node *Node(off_t nodeoffset,bool check = true);
private:
+2
View File
@@ -8,6 +8,8 @@
#include <SupportDefs.h>
#include <stdio.h>
template<class T> class Cache
{
+1 -1
View File
@@ -235,7 +235,7 @@ Disk::DumpBootBlockToFile()
status_t
Disk::ScanForSuperBlock(off_t start = 0, off_t stop = -1)
Disk::ScanForSuperBlock(off_t start, off_t stop)
{
printf("Disk size %Ld bytes, %.2f GB\n", fSize, 1.0 * fSize / (1024*1024*1024));
+2
View File
@@ -9,6 +9,8 @@
#include <File.h>
#include <Path.h>
#include <string.h>
#include "Bitmap.h"
#include "bfs.h"
#include "Cache.h"
+1 -1
View File
@@ -192,7 +192,7 @@ void Hashtable::Rewind()
void
Hashtable::MakeEmpty(int8 keyMode = HASH_EMPTY_NONE,int8 valueMode = HASH_EMPTY_NONE)
Hashtable::MakeEmpty(int8 keyMode,int8 valueMode)
{
fModCount++;