summaryrefslogtreecommitdiffstats
path: root/api/direct_bt/HCIIoctl.hpp
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-05-26 04:44:27 +0200
committerSven Göthel <[email protected]>2024-05-26 04:44:27 +0200
commit3cb9f5724950dc1b5de4928a82e92f585065b322 (patch)
tree17457655a6adad56c48fdce0887694a144eb4692 /api/direct_bt/HCIIoctl.hpp
parentc9cc73d35af55041f7f5e3142e6d47babd4fd866 (diff)
HCI|L2CAP Ioctl Header require paused pedantic and zero-length-array warning (due to new strict pedantic setting)v3.3.2
Diffstat (limited to 'api/direct_bt/HCIIoctl.hpp')
-rw-r--r--api/direct_bt/HCIIoctl.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/direct_bt/HCIIoctl.hpp b/api/direct_bt/HCIIoctl.hpp
index bb3cf996..ec01d7ec 100644
--- a/api/direct_bt/HCIIoctl.hpp
+++ b/api/direct_bt/HCIIoctl.hpp
@@ -76,6 +76,8 @@
#ifndef HCI_IOCTL_HPP_
#define HCI_IOCTL_HPP_
+#include <jau/cpp_pragma.hpp>
+
#include "BTAddress.hpp"
#include "linux_kernel_types.hpp"
@@ -91,6 +93,10 @@ extern "C" {
* @{
*/
+PRAGMA_DISABLE_WARNING_PUSH
+PRAGMA_DISABLE_WARNING_PEDANTIC
+PRAGMA_DISABLE_WARNING_ZERO_LENGTH_ARRAY
+
/**
* Missing information ???
*/
@@ -2535,6 +2541,8 @@ struct hci_inquiry_req {
};
#define IREQ_CACHE_FLUSH 0x0001
+PRAGMA_DISABLE_WARNING_POP
+
/**@}*/
#endif /* HCI_IOCTL_HPP_ */