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
+1 -1
View File
@@ -111,7 +111,7 @@ private:
friend class _BMCMenuBar_; friend class _BMCMenuBar_;
friend class LabelLayoutItem; friend class LabelLayoutItem;
friend class MenuBarLayoutItem; friend class MenuBarLayoutItem;
friend class LayoutData; friend struct LayoutData;
BMenuField(const char* name, BMenuField(const char* name,
const char* label, BMenu* menu, const char* label, BMenu* menu,
@@ -16,10 +16,10 @@ namespace BPackageKit {
namespace BHPKG { namespace BHPKG {
class BPackageAttributeValue; struct BPackageAttributeValue;
class BPackageEntry; class BPackageEntry;
class BPackageEntryAttribute; class BPackageEntryAttribute;
class BPackageInfoAttributeValue; struct BPackageInfoAttributeValue;
class BLowLevelPackageContentHandler { class BLowLevelPackageContentHandler {
@@ -16,13 +16,13 @@ namespace BPackageKit {
namespace BHPKG { namespace BHPKG {
class BPackageInfoAttributeValue; struct BPackageInfoAttributeValue;
namespace V1 { namespace V1 {
class BPackageAttributeValue; struct BPackageAttributeValue;
class BPackageEntry; class BPackageEntry;
class BPackageEntryAttribute; class BPackageEntryAttribute;
@@ -1508,7 +1508,7 @@ cdda_mount(fs_volume* fsVolume, const char* device, uint32 flags,
static status_t static status_t
cdda_unmount(fs_volume* _volume) 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)); TRACE(("cdda_unmount: entry fs = %p\n", _volume));
delete volume; delete volume;
@@ -34,7 +34,7 @@ struct FileHandle {
inline bool operator<(const FileHandle& handle) const; inline bool operator<(const FileHandle& handle) const;
}; };
class InodeNames; struct InodeNames;
struct InodeName : public SinglyLinkedListLinkImpl<InodeName> { struct InodeName : public SinglyLinkedListLinkImpl<InodeName> {
InodeName(InodeNames* parent, const char* name); InodeName(InodeNames* parent, const char* name);
@@ -12,7 +12,7 @@
class AttributeIndex; class AttributeIndex;
class AttributeIndexTreeValue; struct AttributeIndexTreeValue;
class IndexedAttributeOwner; class IndexedAttributeOwner;
@@ -38,7 +38,7 @@ private:
struct IteratorPolicy; struct IteratorPolicy;
struct Iterator; struct Iterator;
friend class IteratorPolicy; friend struct IteratorPolicy;
void _UpdateLiveQueries(Node* entry, void _UpdateLiveQueries(Node* entry,
const char* oldName, const char* newName); const char* oldName, const char* newName);