summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat_manager.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-23 17:23:07 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-24 12:18:53 +0000
commitb3ff91a57d3ebd786798d6cef74e29a247e8d001 (patch)
treead7e78c4bac5cdb6cfd352e6cf5f8b06e72b59b1 /src/v4l2/v4l2_compat_manager.h
parentf1d94a9c683ba11d4b7d098ab81ee0b9a5c8cd2e (diff)
lc-compliance: Convert to pragma once
Remove the verbose #ifndef/#define/#endif pattern for maintaining header idempotency, and replace it with a simple #pragma once. This simplifies the headers, and prevents redundant changes when header files get moved. Signed-off-by: Kieran Bingham t32_t size; uint32_t data_offset; uint32_t reserved[3]; }; struct ipa_control_value_entry { uint32_t id; uint32_t type; uint32_t count; uint32_t offset; }; struct ipa_control_range_entry { uint32_t id; uint32_t type; uint32_t offset; uint32_t padding[1]; }; union ipa_control_value_data { bool b; int32_t i32; int64_t i64; }; struct ipa_control_range_data { union ipa_control_value_data min; union ipa_control_value_data max; }; #ifdef __cplusplus } #endif #endif /* __LIBCAMERA_IPA_CONTROLS_H__ */