forked from Imagelibrary/rtems
capture: Compact rtems_capture_record_t
Order fields according to alignment to reduce structure internal padding.
This commit is contained in:
@@ -153,9 +153,9 @@ typedef struct rtems_capture_control_s
|
|||||||
*/
|
*/
|
||||||
typedef struct rtems_capture_record_s
|
typedef struct rtems_capture_record_s
|
||||||
{
|
{
|
||||||
uint32_t events;
|
|
||||||
rtems_capture_time_t time;
|
rtems_capture_time_t time;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
uint32_t events;
|
||||||
rtems_id task_id;
|
rtems_id task_id;
|
||||||
} rtems_capture_record_t;
|
} rtems_capture_record_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user