Reformat repo to clang-format 7.0 rules

This commit is contained in:
Techjar
2019-05-05 23:48:12 +00:00
parent d347867f2e
commit ff972e3673
208 changed files with 311 additions and 309 deletions

View File

@ -32,7 +32,7 @@ namespace Device
{
class Device;
class ES;
}
} // namespace Device
struct Request;
struct OpenRequest;

View File

@ -642,16 +642,16 @@ void WiimoteDevice::SendConfigurationRequest(u16 scid, u16 mtu, u16 flush_time_o
SendCommandToACL(L2CAP_CONFIG_REQ, L2CAP_CONFIG_REQ, offset, buffer);
}
//
//
//
//
// --- SDP
//
//
//
//
//
//
//
//
//
// --- SDP
//
//
//
//
//
#define SDP_UINT8 0x08
#define SDP_UINT16 0x09
@ -935,4 +935,4 @@ void Callback_WiimoteInterruptChannel(int number, u16 channel_id, const u8* data
if (bt)
bt->AccessWiimoteByIndex(number)->ReceiveL2capData(channel_id, data, size);
}
}
} // namespace Core

View File

@ -2530,11 +2530,11 @@ static __inline int hci_filter_test(uint8_t bit, const struct hci_filter* filter
return (filter->mask[off] & (1 << ((bit - 1) & 0x1f)));
}
/*
* HCI socket ioctl's
*
* Apart from GBTINFOA, these are all indexed on the unit name
*/
/*
* HCI socket ioctl's
*
* Apart from GBTINFOA, these are all indexed on the unit name
*/
#define SIOCGBTINFO _IOWR('b', 5, struct btreq) /* get unit info */
#define SIOCGBTINFOA _IOWR('b', 6, struct btreq) /* get info by address */

View File

@ -76,7 +76,7 @@ struct DeviceEntry
u8 num_altsettings;
};
#pragma pack(pop)
}
} // namespace
USBV5ResourceManager::~USBV5ResourceManager()
{