Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5623114f authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Formalize variable flexible array member

Bug: 200602679
Tag: #refactor
Test: gd/cert/run

Change-Id: Iad58c332332838db11f351f352b2e464692794f9
parent 99d2e38e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -124,8 +124,11 @@ typedef struct {
    uint8_t u8;                         /* 8-bit integer            */
    uint16_t u16;                       /* 16-bit integer           */
    uint32_t u32;                       /* 32-bit integer           */
    uint8_t array[4];                   /* Variable length field    */
    struct t_sdp_disc_attr* p_sub_attr; /* Addr of first sub-attr (list)*/
    uint8_t array[];                    /* Variable length field    */
                                        /* flexible array member    */
                                        /* requiring backing store  */
                                        /* from SDP DB    */
  } v;

} tSDP_DISC_ATVAL;