1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format_text
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
..
archive.c Merge branch 'master' into 2018-05-11-fork-libdm 2018-06-01 13:04:12 +01:00
archiver.c pass cmd struct through more functions 2020-04-21 10:58:05 -05:00
archiver.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
export.c metadata: extend writes to zero space 2019-07-12 15:00:12 -05:00
flags.c Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
format-text.c pass cmd struct through more functions 2020-04-21 10:58:05 -05:00
format-text.h vgck: fix updatemetadata writing different descriptions 2019-10-11 12:57:32 -05:00
import_vsn1.c metadata: add vg_from_config_tree 2019-11-27 11:13:47 -06:00
import-export.h metadata: add vg_from_config_tree 2019-11-27 11:13:47 -06:00
import.c metadata: add vg_from_config_tree 2019-11-27 11:13:47 -06:00
layout.h gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
text_export.h coverity: fix possible resource leak of descendants_buffer in _print_historical_lv fn 2016-05-31 09:36:58 +02:00
text_import.h doc: change fsf address 2016-01-21 12:11:37 +01:00
text_label.c pass cmd struct through more functions 2020-04-21 10:58:05 -05:00