1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/label
Zdenek Kabelac fd96f1014b gcc: zero-sized array to fexlible array C99
Switch remaining zero sized struct to flexible arrays to be C99
complient.

These simple rules should apply:

- The incomplete array type must be the last element within the structure.
- There cannot be an array of structures that contain a flexible array member.
- Structures that contain a flexible array member cannot be used as a member of another structure.
- The structure must contain at least one named member in addition to the flexible array member.

Although some of the code pieces should be still improved.
2020-09-01 17:57:50 +02:00
..
hints.c gcc: do not use return with void function 2020-08-28 21:43:03 +02:00
hints.h hints: free hint list in error exit path 2020-03-03 12:25:34 -06:00
label.c gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
label.h pass cmd struct through more functions 2020-04-21 10:58:05 -05:00