| .. | .. |
|---|
| 22 | 22 | __u8 len_des; |
|---|
| 23 | 23 | __u8 len_src; |
|---|
| 24 | 24 | __u8 ext_ver; |
|---|
| 25 | | - __u8 data[0]; |
|---|
| 25 | + __u8 data[]; |
|---|
| 26 | 26 | } __attribute__ ((packed)); |
|---|
| 27 | 27 | |
|---|
| 28 | 28 | struct RR_RR_s { |
|---|
| .. | .. |
|---|
| 44 | 44 | struct SL_component { |
|---|
| 45 | 45 | __u8 flags; |
|---|
| 46 | 46 | __u8 len; |
|---|
| 47 | | - __u8 text[0]; |
|---|
| 47 | + __u8 text[]; |
|---|
| 48 | 48 | } __attribute__ ((packed)); |
|---|
| 49 | 49 | |
|---|
| 50 | 50 | struct RR_SL_s { |
|---|
| .. | .. |
|---|
| 54 | 54 | |
|---|
| 55 | 55 | struct RR_NM_s { |
|---|
| 56 | 56 | __u8 flags; |
|---|
| 57 | | - char name[0]; |
|---|
| 57 | + char name[]; |
|---|
| 58 | 58 | } __attribute__ ((packed)); |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | struct RR_CL_s { |
|---|
| .. | .. |
|---|
| 71 | 71 | |
|---|
| 72 | 72 | struct RR_TF_s { |
|---|
| 73 | 73 | __u8 flags; |
|---|
| 74 | | - struct stamp times[0]; /* Variable number of these beasts */ |
|---|
| 74 | + struct stamp times[]; /* Variable number of these beasts */ |
|---|
| 75 | 75 | } __attribute__ ((packed)); |
|---|
| 76 | 76 | |
|---|
| 77 | 77 | /* Linux-specific extension for transparent decompression */ |
|---|