diff options
author | Bruce Allan <[email protected]> | 2020-06-29 17:27:46 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2020-07-01 16:35:23 -0700 |
commit | 66486d8943bac36821f66b7e2d33e4c7c691e113 (patch) | |
tree | 76040390708d5abdc1ffb4895905293ed2263c89 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b3c3890489f6d3794916958d1663ab6aecb0290b (diff) |
ice: replace single-element array used for C struct hack
Convert the pre-C90-extension "C struct hack" method (using a single-
element array at the end of a structure for implementing variable-length
types) to the preferred use of C99 flexible array member.
Additional code cleanups were done near areas affected by this change.
Signed-off-by: Bruce Allan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions