Fix more class/struct mixups.

This commit is contained in:
Augustin Cavalier 2017-12-02 22:24:06 -05:00
parent bf77c15232
commit 7c234361eb
7 changed files with 9 additions and 9 deletions

View File

@ -111,7 +111,7 @@ private:
friend class _BMCMenuBar_;
friend class LabelLayoutItem;
friend class MenuBarLayoutItem;
friend class LayoutData;
friend struct LayoutData;
BMenuField(const char* name,
const char* label, BMenu* menu,

View File

@ -16,10 +16,10 @@ namespace BPackageKit {
namespace BHPKG {
class BPackageAttributeValue;
struct BPackageAttributeValue;
class BPackageEntry;
class BPackageEntryAttribute;
class BPackageInfoAttributeValue;
struct BPackageInfoAttributeValue;
class BLowLevelPackageContentHandler {

View File

@ -16,13 +16,13 @@ namespace BPackageKit {
namespace BHPKG {
class BPackageInfoAttributeValue;
struct BPackageInfoAttributeValue;
namespace V1 {
class BPackageAttributeValue;
struct BPackageAttributeValue;
class BPackageEntry;
class BPackageEntryAttribute;

View File

@ -1508,7 +1508,7 @@ cdda_mount(fs_volume* fsVolume, const char* device, uint32 flags,
static status_t
cdda_unmount(fs_volume* _volume)
{
struct Volume* volume = (struct Volume*)_volume->private_volume;
Volume* volume = (Volume*)_volume->private_volume;
TRACE(("cdda_unmount: entry fs = %p\n", _volume));
delete volume;

View File

@ -34,7 +34,7 @@ struct FileHandle {
inline bool operator<(const FileHandle& handle) const;
};
class InodeNames;
struct InodeNames;
struct InodeName : public SinglyLinkedListLinkImpl<InodeName> {
InodeName(InodeNames* parent, const char* name);

View File

@ -12,7 +12,7 @@
class AttributeIndex;
class AttributeIndexTreeValue;
struct AttributeIndexTreeValue;
class IndexedAttributeOwner;

View File

@ -38,7 +38,7 @@ private:
struct IteratorPolicy;
struct Iterator;
friend class IteratorPolicy;
friend struct IteratorPolicy;
void _UpdateLiveQueries(Node* entry,
const char* oldName, const char* newName);