diff options
author | Kevin Cernekee <cernekee@chromium.org> | 2016-08-14 13:59:01 -0700 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-17 17:06:23 +0200 |
commit | 807e041a74f05e1266176cf9a28687388cdf6cb3 (patch) | |
tree | 1627d7e5e9a5bae27f208fe661a8e57128448437 /examples/nfct-mnl-dump.c | |
parent | 980e215b612829aa2c4e994c39da8b14a95e1c69 (diff) |
src: Make the library compile under clang
clang treats "char buffer[size]" inside a union as VLAIS unless |size|
is const:
src/conntrack/api.c:992:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
char buffer[size];
^
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nfct-mnl-dump.c')
0 files changed, 0 insertions, 0 deletions