1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/libdm/misc
Zdenek Kabelac d53456be24 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-10-16 16:02:06 +02:00
..
dm-ioctl.h gcc: zero-sized array to fexlible array C99 2020-10-16 16:02:06 +02:00
dm-log-userspace.h cleanup: fix some typos 2017-07-10 14:58:33 +02:00
dm-logging.h libdm: use dm_log_with_errno always 2016-11-03 17:49:07 +01:00
dmlib.h doc: change fsf address 2016-01-21 12:11:37 +01:00
kdev_t.h cleanup: move cast to det_t into MKDEV macro 2019-03-05 12:39:17 +01:00