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:
@@ -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;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ class _BZombieReplicantView_;
|
||||
struct entry_ref;
|
||||
|
||||
namespace BPrivate {
|
||||
class replicant_data;
|
||||
struct replicant_data;
|
||||
class ShelfContainerViewFilter;
|
||||
};
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ struct entry_ref;
|
||||
|
||||
class BFile;
|
||||
class BList;
|
||||
class BMidiEvent;
|
||||
struct BMidiEvent;
|
||||
|
||||
class BMidiStore : public BMidi {
|
||||
public:
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
virtual status_t SystemShuttingDown();
|
||||
|
||||
private:
|
||||
friend struct KeyboardDevice;
|
||||
friend class KeyboardDevice;
|
||||
// TODO: needed by the control thread to remove a dead device
|
||||
// find a better way...
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ ipv4_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress)
|
||||
the given address is not initialized
|
||||
*/
|
||||
static status_t
|
||||
ipv4_checksum_address(struct Checksum *checksum, const sockaddr *address)
|
||||
ipv4_checksum_address(Checksum *checksum, const sockaddr *address)
|
||||
{
|
||||
if (checksum == NULL || address == NULL || address->sa_len == 0)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
|
||||
private:
|
||||
// for g++ 2.95
|
||||
friend class HashDefinition;
|
||||
friend struct HashDefinition;
|
||||
|
||||
Filter *fParent;
|
||||
AddressType fMulticastAddress;
|
||||
|
||||
@@ -518,7 +518,7 @@ ipv6_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress)
|
||||
the given address is not initialized
|
||||
*/
|
||||
static status_t
|
||||
ipv6_checksum_address(struct Checksum *checksum, const sockaddr *address)
|
||||
ipv6_checksum_address(Checksum *checksum, const sockaddr *address)
|
||||
{
|
||||
if (checksum == NULL || address == NULL || address->sa_len == 0)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
|
||||
private:
|
||||
// for g++ 2.95
|
||||
friend class HashDefinition;
|
||||
friend struct HashDefinition;
|
||||
|
||||
Filter *fParent;
|
||||
AddressType fMulticastAddress;
|
||||
|
||||
@@ -122,9 +122,9 @@ private:
|
||||
private:
|
||||
TCPEndpoint* fConnectionHashLink;
|
||||
TCPEndpoint* fEndpointHashLink;
|
||||
friend class EndpointManager;
|
||||
friend class ConnectionHashDefinition;
|
||||
friend class EndpointHashDefinition;
|
||||
friend class EndpointManager;
|
||||
friend struct ConnectionHashDefinition;
|
||||
friend class EndpointHashDefinition;
|
||||
|
||||
mutex fLock;
|
||||
EndpointManager* fManager;
|
||||
|
||||
@@ -277,7 +277,7 @@ unix_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress)
|
||||
|
||||
|
||||
static status_t
|
||||
unix_checksum_address(struct Checksum *checksum, const sockaddr *_address)
|
||||
unix_checksum_address(Checksum *checksum, const sockaddr *_address)
|
||||
{
|
||||
if (checksum == NULL || _address == NULL)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
#include <MediaDefs.h>
|
||||
|
||||
class dormant_node_info;
|
||||
struct dormant_node_info;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <String.h>
|
||||
#include <Entry.h>
|
||||
|
||||
class dormant_node_info;
|
||||
struct dormant_node_info;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
class rtm_pool;
|
||||
struct rtm_pool;
|
||||
|
||||
class RawBuffer {
|
||||
public: // ctor/dtor/accessors
|
||||
|
||||
@@ -26,7 +26,7 @@ class DwarfTypeFactory;
|
||||
class FunctionID;
|
||||
class GlobalTypeCache;
|
||||
class GlobalTypeLookup;
|
||||
class LocationDescription;
|
||||
struct LocationDescription;
|
||||
class ObjectID;
|
||||
class RegisterMap;
|
||||
class Variable;
|
||||
|
||||
@@ -45,11 +45,11 @@ class DwarfTargetInterface;
|
||||
class DwarfType;
|
||||
class DwarfTypeContext;
|
||||
class DwarfTypedefType;
|
||||
class DwarfUnspecifiedType;
|
||||
struct DwarfUnspecifiedType;
|
||||
class GlobalTypeCache;
|
||||
class GlobalTypeLookup;
|
||||
class LocationDescription;
|
||||
class MemberLocation;
|
||||
struct LocationDescription;
|
||||
struct MemberLocation;
|
||||
class RegisterMap;
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
class AbbreviationTable;
|
||||
class DebugInfoEntry;
|
||||
class SourceLanguageInfo;
|
||||
struct SourceLanguageInfo;
|
||||
|
||||
|
||||
enum dwarf_unit_kind {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "TypeUnit.h"
|
||||
|
||||
|
||||
class AbbreviationEntry;
|
||||
struct AbbreviationEntry;
|
||||
class AbbreviationTable;
|
||||
class BVariant;
|
||||
class CfaContext;
|
||||
@@ -199,7 +199,7 @@ private:
|
||||
const FDEInfoList& infoList) const;
|
||||
|
||||
private:
|
||||
friend class DwarfFile::ExpressionEvaluationContext;
|
||||
friend struct DwarfFile::ExpressionEvaluationContext;
|
||||
|
||||
private:
|
||||
char* fName;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
namespace CLanguage {
|
||||
class Token;
|
||||
struct Token;
|
||||
class Tokenizer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user