Fix clang warning "mismatched-tags"

Change-Id: I00f26e27d8ac24a46b528ea7ed47b92c2967ff2e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2390
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
X512
2020-03-23 01:30:23 +00:00
committed by waddlesplash
parent 77f5125586
commit 8152128002
21 changed files with 73 additions and 73 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ class BPopUpMenu;
class BShelf;
namespace BPrivate {
class replicant_data;
struct replicant_data;
class ShelfContainerViewFilter;
};
@@ -79,7 +79,7 @@ protected:
private:
friend class BPrivate::ShelfContainerViewFilter;
friend class BPrivate::replicant_data;
friend struct BPrivate::replicant_data;
friend class Private;
friend class BShelf;
+4 -4
View File
@@ -20,7 +20,7 @@ class _BZombieReplicantView_;
struct entry_ref;
namespace BPrivate {
class replicant_data;
struct replicant_data;
class ShelfContainerViewFilter;
};
@@ -116,10 +116,10 @@ private:
BPoint* location, uint32 uniqueID);
BView* _GetReplicant(BMessage* data, BView* view,
const BPoint& point, BDragger*& dragger,
BDragger::relation& relation);
BDragger::relation& relation);
_BZombieReplicantView_* _CreateZombie(BMessage *data,
BDragger *&dragger);
status_t _GetProperty(BMessage* message,
BMessage* reply);
static void _GetReplicantData(BMessage* message,
@@ -141,7 +141,7 @@ private:
bool fDisplayZombies;
bool fAllowZombies;
bool fTypeEnforced;
uint32 _reserved[8];
};
+4 -4
View File
@@ -10,7 +10,7 @@ struct entry_ref;
class BFile;
class BList;
class BMidiEvent;
struct BMidiEvent;
class BMidiStore : public BMidi {
public:
@@ -63,14 +63,14 @@ public:
uint32 EventAtDelta(uint32 time) const;
uint32 BeginTime() const;
void SetTempo(int32 beatsPerMinute);
int32 Tempo() const;
private:
friend class BMidiSynthFile;
virtual void _ReservedMidiStore1();
virtual void _ReservedMidiStore2();
virtual void _ReservedMidiStore3();
@@ -126,7 +126,7 @@ private:
bool fLooping;
bool fPaused;
bool fFinished;
uint32 _reserved2[12];
};
@@ -16,7 +16,7 @@
namespace BPrivate {
struct KMessage;
class KMessage;
status_t get_extended_team_info(team_id teamID, uint32 flags, KMessage& info);
@@ -49,7 +49,7 @@ private:
friend class BMediaClient;
friend class BMediaConnection;
friend class media_connection;
friend struct media_connection;
} media_client;
+2 -2
View File
@@ -17,7 +17,7 @@
#define NET_DATALINK_MODULE_NAME "network/stack/datalink/v1"
struct Checksum;
class Checksum;
struct net_protocol;
@@ -171,7 +171,7 @@ struct net_address_module_info {
uint32 (*hash_address_pair)(const struct sockaddr* ourAddress,
const struct sockaddr* peerAddress);
status_t (*checksum_address)(struct Checksum* checksum,
status_t (*checksum_address)(Checksum* checksum,
const struct sockaddr* address);
void (*get_loopback_address)(struct sockaddr* result);