Fixed gcc 4(.1.2) build problems.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20320 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-03-04 05:00:40 +00:00
parent 5ca2f7aa8c
commit eb9b19800b
15 changed files with 29 additions and 18 deletions
-8
View File
@@ -112,14 +112,6 @@ private:
};
template<class T>
inline status_t
read_helper(BDataIO *stream, T &data)
{
return normalize_err(stream->Read((void *)&data, sizeof(T)));
}
template<>
inline void
byte_swap(double &data)
+2 -2
View File
@@ -40,8 +40,8 @@ private:
friend class BDiskDeviceList;
friend class BDiskDeviceRoster;
BDiskDevice::BDiskDevice(const BDiskDevice &);
BDiskDevice &BDiskDevice::operator=(const BDiskDevice &);
BDiskDevice(const BDiskDevice &);
BDiskDevice &operator=(const BDiskDevice &);
static status_t _GetData(partition_id id, bool deviceOnly, bool shadow,
size_t neededSize, user_disk_device_data **data);